[Samba] Static WINS entry

robert.walland at r-kb.si robert.walland at r-kb.si
Mon Jul 10 12:05:52 GMT 2006


I found an example on MS site and entered a strings like that:

"DC01#00" 0 66R
"DC01#03" 0 66R
"DC01#20" 0 66R
"DCDOMAIN#00" 0 e4R
"DCDOMAIN#1b" 0 64R 
"DCDOMAIN#1c" 0 e4R
"DCDOMAIN#1e" 0 e4R

I've entered only for one server, but still can see the other domain. 
Maybe I have make a mistake in the upper lines?

Hash: SHA1

Martin Vogt wrote:
> On Mo, Juli 10, 2006 13:06, robert.walland at r-kb.si wrote:
>> Hi,
>> I want to insert a static WINS entry into wins.dat.
>> How do I write an entry for 2 servers (dc01, dc02) for domain DCDOMAIN?
> Put them in /etc/samba/lmhosts on your WINS server.

lmhosts and the wins db are separate sources of information.  The
lmhosts file doesn't affect nmbd WINS responses.  We keep
talking about about real static entry support.  For now,
stop nmbd and manually edit wins.dat.  IIRC you can set the
TTL (second field) in the #1b and #1c records to 0 and restart nmbd.
It's been a while since I toyed with wins records though.

cheers, jerry
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org


More information about the samba mailing list