Lucas Brasilino
2014-Apr-29  17:44 UTC
[Samba] Samba 3.5 loses local master browser election to Win7 32bits
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
Gaiseric Vandal
2014-Apr-29  19:17 UTC
[Samba] Samba 3.5 loses local master browser election to Win7 32bits
The Win 7 x32 clients are configured to use a Wins server? I am assuming you have this pushed out via DHCP? Maybe it is something unique to a batch of computers that just happen to be running x32 vs x64? Apart from x32 vs x64 OS versions, is there any difference between the x32 and x64 machines? Windows firewall settings? Do things like ipconfig and nbtstat show different results on the x32 vs x64 machines? On 04/29/14 13:44, Lucas Brasilino wrote:> 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
L.P.H. van Belle
2014-Apr-29  19:47 UTC
[Samba] Samba 3.5 loses local master browser election to Win7 32bits
i suggest you try also set preferred master = Yes and/or increase the os level in global smb.conf like. os level = 65 greetz, Louis>-----Oorspronkelijk bericht----- >Van: lucas.brasilino at gmail.com >[mailto:samba-bounces at lists.samba.org] Namens Lucas Brasilino >Verzonden: dinsdag 29 april 2014 19:44 >Aan: samba at lists.samba.org >Onderwerp: [Samba] Samba 3.5 loses local master browser >election to Win7 32bits > >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 >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >