[Samba] Samba BDC refuses to become local master browser?

Per olof Ljungmark peo at intersonic.se
Sat Mar 20 01:37:45 GMT 2004


Need help debugging the following, thanks.

All Samba setup over three subnets:

192.168.4.0-------192.168.1.0--------192.168.3.0
BDC here          PDC here           BDC here
weir              ripple             hart

netmask 255.255.255.0

from log.nmdb at weir after elections have settled:

[2004/03/20 02:25:22, 4, pid=1291, effective(0, 0), real(0, 0)] 
nmbd/nmbd_workgroupdb.c:dump_workgroups(266)
   dump_workgroups()
    dump workgroup on subnet   192.168.4.206: netmask=  255.255.255.0:
         STARLIGHT(1) current master browser = STOCKHOLM02
                 WEIR 40019b1b (Samba 3.0.2a)
                 STOCKHOLM02 42069243 ()
[2004/03/20 02:25:22, 4, pid=1291, effective(0, 0), real(0, 0)] 
nmbd/nmbd_workgroupdb.c:dump_workgroups(266)
   dump_workgroups()
    dump workgroup on subnet  UNICAST_SUBNET: netmask=        0.0.0.0:
         STARLIGHT(1) current master browser = UNKNOWN
                 WEIR 40019b1b (Samba 3.0.2a)

smb.conf:

[global]
	unix charset = ISO8859-15
	workgroup = STARLIGHT
	min passwd length = 4
	passdb backend = ldapsam:ldap://localhost:389
	pam password change = Yes
	passwd program = /usr/local/sbin/smbldap-passwd -o %u
	passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
	passwd chat debug = Yes
	username map = /usr/local/lib/samba/users.map
	unix password sync = Yes
	log level = 6
	max log size = 500
	debug pid = Yes
	debug uid = Yes
	add user script = /usr/local/sbin/smbldap-useradd -m -a %u
	delete user script = /usr/local/sbin/smbldap-userdel %u
	add group script = /usr/local/sbin/smbldap-groupadd -p %u
	add user to group script = /usr/local/sbin/smbldap-groupmod -m %u %g
	set primary group script = /usr/local/sbin/smbldap-usermod -g %g %u
	add machine script = /usr/local/sbin/smbldap-useradd -w -g 553 %u
	logon path = /usr/local/lib/samba/Profiles/%U
	domain logons = Yes
	os level = 65
	domain master = No
	wins server = 192.168.1.14
	ldap suffix = dc=starlight,dc=se
	ldap machine suffix = ou=Computers
	ldap user suffix = ou=People
	ldap group suffix = ou=Groups
	ldap admin dn = cn=Manager,dc=starlight,dc=se
	ldap ssl = no
	ldap passwd sync = Yes
	ldap delete dn = Yes
	lock directory = /var/lock
	remote announce = 192.168.3.255/STARLIGHT 192.168.1.255/STARLIGHT
	remote browse sync = 192.168.3.2 192.168.1.255
	idmap backend = ldap:ldap://ripple.i.inter-sonic.com:389
	create mask = 0774
	directory mask = 0775

[homes]
	valid users = %S
	read only = No
	only user = Yes

[netlogon]
	path = /usr/local/lib/samba/netlogon
	read only = No
	create mask = 0600
	directory mask = 0700
	guest ok = Yes
	browseable = No

[Profiles]
	comment = Roaming profiles
	path = /usr/local/lib/samba/Profiles
	read only = No


More information about the samba mailing list