Many Windows networks use NT domain controllers or AD domain
controllers to provide authentication services to Windows systems.
You can tap into this existing resource to provide automatic account
creation and password authentication on a Linux system—even one
that doesn’t function as a Samba server. To do this,
you must adjust some
smb.conf entries, run the
Winbind daemon, and configure the PAM and NSS systems to use Winbind
for account authentication and information queries. Once this system
is configured and running, users shouldn’t be able
to tell that Winbind is in use; everything should work just as it
does with a local account database.