[Samba] Samba 3.6.1 losing browser elections to WinXP

Raymond Lillard ryl at sonic.net
Tue Feb 14 16:23:13 MST 2012

Hello Samba;

I am aware this was a problem years ago...

This week I turned up a brand new server
to replace an embarrassingly old one.  The
problem has re-occurred.

I expected this to be a problem long ago

I have made the following registry edit to the
offending XP machine and restarted Samba.
I hope it sticks.

I have two questions:

1) Have I missed something in the configuration?
    or is there some reason this isn't fixed?

2)  How can I force a browser election without
     restarting the daemons?  smbd doesn't seem
     to respond to a SIGHUP.  A command line would
     be nice.


Details to follow:
This is a standalone server in a workgroup
(no domain) on an OpenBSD 5.0 platform.

My relevant smb.conf settings:


         workgroup = MY_WORKGROUP
         server string = Samba %v
         interfaces = bge0
         passwd program = /usr/bin/passwd %u
         passwd chat = *password* %n\n *password* %n\n *successful*
         username map = /etc/samba/smbusers
         unix password sync = Yes
         log file = /var/log/samba/smbd.%m
         max log size = 1024
         add user script = /usr/sbin/useradd %u
         delete user script = /usr/sbin/userdel %u
         add group script = /usr/sbin/groupadd %g
         delete group script = /usr/sbin/groupdel %g
         delete user from group script = /usr/sbin/deluser %u %g
         add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s 
/bin/false %u
         logon script = %U_logon.bat
         logon path = \\%L\profiles\%U-%m
         logon drive = H:
         logon home = \\%L\%U
         os level = 65
         preferred master = Yes
         domain master = No
         wins proxy = Yes
         utmp = Yes
         idmap config * : backend = tdb
         admin users = +wheel

More information about the samba mailing list