On my Samba 3.0.11 installation (which should act as a WINS server), the "wins support" option ignored. (3.0.10 on a different machine is ok). Yes, I have checked for typos and re-typed it several times. I have set "wins support = yes", but it does not appear in the output of testparm. "testparm -v" shows "wins support = no", and I get tons of "error - should be sent to WINS server" in my nmbd log. Unfortunately, I added the option after the upgrade to 3.0.11, so I can't tell if earlier verions on the same machine would be affected. The following is the "globals" section of my testparm output (note the absence of the "wins suport" option): dos charset = 850 unix charset = ISO8859-1 workgroup = ***** netbios name = ***** server string = %h server (Samba %v) interfaces = eth0, lo bind interfaces only = Yes security = DOMAIN passdb backend = mysql:mysql username map = /etc/samba/smbusers log level = 1 syslog = 0 log file = /var/log/samba/log.%m max log size = 4000 socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name = CUPS os level = 65 domain master = No enhanced browsing = No panic action = /usr/share/samba/panic-action %d mysql:domain column = '*****' mysql:table = user mysql:mysql password = ***** veto files = /*.eml/*.nws/riched20.dll/*.{*}/
works fine here. sure you don't have some config problem ? I'm inclined to close this unless you can convince me that there a bug hidden here.
After wasting HOURS of resultless debugging, I finally found the config line defined a second time hidden a few screens below... Sorry for the noise. Suggestion: A warning for duplicate options would be a useful feature for testparm.
to some people its a bug when we don't warn of duplcated settings, to other its a feature to be able to override a prevously defined parameter. Thanks for the feedback though.