Hi,
I've a Samba 2.0.7 server in a NT4 domain with PDC and BDCs NT Servers
around.
The network is subnetted into 255.255.255.128, the samba machine is in
192.168.1.229 while the PDC and BDC are in 192.168.1.44 and 192.168.1.78.
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:
[global]
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 = 192.168.1.90
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 192.168.1.0/25 subnet?
Is there any possibility that samba will promote itself as PDC with the above
smb.conf parameters?
Thanks in advance,
Kai
Regards,
Kai
Kai O'Yang <kai@oyang.org>
kai@oyang.org wrote:> > 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: > > [global] > 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 = 192.168.1.90 > 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 = NoIt's going to be because you have domain logons = yes with security = domain. Plus there was a recent bug found (and fixed by Andrew) regarding the 'auto' value for parameters. Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com VA Linux Systems gcarter@valinux.com http://www.samba.org SAMBA Team jerry@samba.org http://www.eng.auburn.edu/~cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )