Before looking at the configuration file, it is important to understand how samba authenticates access. There are five possibilities that samba may use:
Domain Level Security
This option relies on the Domain's Primary Domain Controller to
authenticate users. This is only used if there is a PDC, and Samba is not
it.