[Samba] Samba 3.5 loses local master browser election to Win7 32bits

Lucas Brasilino lucas.brasilino at gmail.com
Tue Apr 29 11:44:08 MDT 2014


Hi All:

I'm facing a weird behavior with Samba 3.5.10. It's a CentOS 6.3
repository RPM. Samba is acting as a PDC and integrated with OpenLDAP
2.4.23, also a CentOS RPM, through smbldap-tools 0.9.3 (from EPEL).

In my network I have Windows 7 64 bits and Windows 7 32 bits. The
problem is that Samba is losing local master browser 'status' to Win7
32 bits machines. From time to time, some Win7 32bit forces an
election and *wins* ! :( But I'm using os level 255!!!!

At startup, nmbd forces an election and wins. Then some machines tries
forces an election.. they looses for a while then after some time
(say, one day to other), nmbd seems to give up and loses master
browser 'status' :(

The interesting fact is that Win7 64 bits seems not forcing/winning elections.

my config (relevant part):

        workgroup = XXXX
        netbios name = PDC01
        interfaces = eth0 10.6.
        bind interfaces only = yes
        hosts allow = 127. 10.6.
[...]
        security = user
        passdb backend = ldapsam:ldap://ldapsrv.xxxx.com/
        ldap suffix = ou=rec,o=xxx
        ldap ssl = start_tls
        ldap admin dn = cn=admin,ou=rec,o=xxx
        ldap passwd sync = yes
        ldap delete dn = yes
        ldap user suffix = ou=users
        ldap group suffix = ou=groups
        ldap machine suffix = ou=computers

        domain master = yes
        domain logons = yes

[... smbldaptools scripts ...]

        os level = 255
        preferred master = yes
        local master = yes
        wins support = yes
        time server = yes


Now I've increased nmbd's debug level to 2 to see if I get some clue.

Any help ??

thanks a lot in advance
Lucas Brasilino


More information about the samba mailing list