Promoting Samba to PDC in NT domain?

kai at kai at
Mon Aug 28 05:45:44 GMT 2000


I've a Samba 2.0.7 server in a NT4 domain with PDC and BDCs NT Servers around.
The network is subnetted into, the samba machine is in while the PDC and BDC are in and

When I created the samba box, I ran server manager in NT to make it a server, NOT PDC/BDC. The setup has been running for more than 4 weeks without problems. Today, users in the NT domain couldn't log in and I found my samba box has become the PDC of the domain. My smb.conf is:

        workgroup = PROD
        netbios name = TITAN
        server string = Samba
        security = DOMAIN
        encrypt passwords = Yes
        username map = /usr/local/samba/lib/usermap
        debug level = 2
        wins server =
        hosts allow = 192.168. 127.
        domain logons = yes
        password server = *

Question is how can this happen? running the config with testparm shows the extra defaults as:
        os level = 20
        preferred master = No
        local master = Yes
        domain master = No

So, this means that if there is an election for domain master, it should never win since there are other NT servers with higher os levels? Also, since the samba box is in a different subnet, it should never become any local master of the subnet? 

Is there any possibility that samba will promote itself as PDC with the above smb.conf parameters?

Thanks in advance,


Kai O'Yang <kai at>

More information about the samba mailing list