Bug 2324 - "wins support" option ignored
Summary: "wins support" option ignored
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.11
Hardware: All All
: P3 enhancement
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-02-08 07:13 UTC by Holger Schletz
Modified: 2005-02-10 06:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Holger Schletz 2005-02-08 07:13:35 UTC
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
        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/*.{*}/
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-08 21:13:10 UTC
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. 
Comment 2 Holger Schletz 2005-02-10 05:57:31 UTC
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 
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-10 06:20:52 UTC
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.