I sent this twice, but since nobody answered, I guess its not a "quick
question" anymore. ;)
Version 2.2.5 on 2.4.18-6mdk
ive got the following in my smb.conf
[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
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?
Bradley W. Langhorst
2002-Oct-02 15:40 UTC
[Samba] really tough question about wins database
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 = SERVERAre 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
>From: jason <jason@monsterjam.org> >To: samba@lists.samba.org >Subject: [Samba] really tough question about wins database >Date: Wed, 2 Oct 2002 10:01:55 -0400 (EDT) > >I sent this twice, but since nobody answered, I guess its not a "quick >question" anymore. ;) > >Version 2.2.5 on 2.4.18-6mdk >[smb.conf looks OKay]> >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?2 reasons spring to my mind. Firstly, is that definately where the file is supposed to be? If you didn't compile Samba from source (or even if you did), you might not have noticed where the default 'locks' directory is. I suspect (but can't check right now) that it's a location that could be controlled by a compile-time option. Try 'find / -name wins.dat -print' and see if the file's been put somewhere else. Second option (which I don't think is likely). Is anyone actually using your UNIX box as their WINS server? You've obviously got another significant box around (your password server), are client PCs sending their WINS registration to it instead? Mac Assistant Systems Adminstrator @nibsc.ac.uk dmccann@nibsc.ac.uk Work: +44 1707 641000 x285 Everything else: +44 7956 237670 (anytime)