[Samba] really tough question about wins database

Bradley W. Langhorst brad at langhorst.com
Wed Oct 2 15:40:32 GMT 2002


On Wed, 2002-10-02 at 10:01, jason wrote:
> [global]
>         add user script = /usr/sbin/useradd -d /dev/null -g machines -c
> 'Machine Account' -s /bin/false -M %u
>         workgroup = ARCHANGEL
>         netbios aliases = CYBERCENTER PARISHCENTER
>         netbios name = PENGUIN
>         server string = Samba Server %v
>         security = SERVER
Are you sure you want SERVER security - it's very rarely appropriate...
read the doc file on that parameter
>         guest account = nobody
>         map to guest = bad user
>         #security = user
>         os level = 33
>         domain master = No
>         domain logons = No
>         encrypt passwords = Yes
>         password server = 10.10.10.99
>         log file = /var/log/samba/log.%m
>         max log size = 50
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         printcap name = lpstat
>         dns proxy = No
>         wins support = Yes
>         hosts allow = hosts allow = 10.10.10.0/255.255.255.0
>         printing = cups
>         print command = /usr/bin/lp -d%p -oraw %s; rm %s
>         lpq command = /usr/bin/lpstat -o%p
>         lprm command = /usr/bin/cancel %p-%j
>         queuepause command = /usr/bin/disable %p
>         queueresume command = /usr/bin/enable %p
> 
> 
> 
> my question is, ive got wins turned on, smbd and nmbd are running, but
> there is no wins.dat in /usr/local/samba/var/locks
> actually there is nothing in that directory.


> why isnt it there? what am I missing?

depending on whether you installed from an rpm or from the source tgz
file wins.dat could show up in various locations

do a search for wins.dat

locate wins.dat
or 
find -name wins.dat (if you don't have the locate db running)


did you set up your clients to point to the wins server?

what does the nmbd log say?

brad




More information about the samba mailing list