"Currently, Samba can go beyond merely emulating Windows
shares to actually acting as the Primary Domain Controller for your
Windows network. Of course, Samba can also become a NT domain
member. In this article we shall look at both these
"The domain concept is much better than the traditional
workgroup concept. One of the primary benefits is having a
centralized password database on the Primary Domain Controller.
Once authenticated, you can access any of the shares in the domain,
without having to re-authenticate yourself."
"Samba emulates a NT workstation when becoming part of the
domain. So, the first thing you need to do is create a machine
account for your Samba machine on the domain controller. In NT you
would use the program Server Manager for Domains to create the
account. Once the account is created, all you need to add are the
following lines to your smb.conf file under the global