Maker tech hub — AI · 3D print · Pi · ESP32 · plus the classic tech archive.

Free ESP32 kit · Books · Network Ninja · Archive

Classic tech archive. From the original averyjparker.com tech blog — historical context; pair with modern guides where noted. Full archive · Maker projects · Network Ninja

Classic tip · Linux

Samba (Windows) domain controller using ubuntu linux

There's a good how-to at (where else) howtoforge.com on the topic of setting up ubuntu Linux (with samba) as a Primary domain controller for your network of windows machines. This uses tdb instead of…

Written by

Avery J. Parker

IT veteran, maker educator, and author of Network Ninja, 3D Printing Mastery, and AI Workflow Mastery. Business IT: Diversified Tech Solutions.

There's a good how-to at (where else) howtoforge.com on the topic of setting up ubuntu Linux (with samba) as a Primary domain controller for your network of windows machines. This uses tdb instead of LDAP and is suitable for networks with up to 250 users. The advantage here is that it's simpler to setup than LDAP integration. Of course, samba for simple file/print sharing is fairly easy to setup, the domain controller "stuff" is usually a bit tricker.


They promise a samba+ldap howto coming soon. Further, there are MANY different ways to configure something similar. This is not to be construed as "the only way" to do this.

A couple pages are spent dealing with the installation of ubuntu (adding an Administrator user in the process). Then, configuring networking, updating the system and setting up ssh for remote administration, then... setup quotas...Page 4 is when the samba setup is started in on (although some of the previous steps certainly help lay the ground work... (administrator user/quotas/etc.)

Good walkthrough.