[Samba] Static WINS entry

Gerald (Jerry) Carter jerry at samba.org
Mon Jul 10 11:52:40 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEsj+IIR7qMdg1EfYRAtBnAKCyzHc3V+4FAginsxLJj3+2ZajtSQCeK8Ow
auSnjnIjM1DWw2F+aNg3Slk=
=7Os9
-----END PGP SIGNATURE-----


More information about the samba mailing list