[Samba] Static WINS entry
robert.walland at r-kb.si
robert.walland at r-kb.si
Mon Jul 10 12:05:52 GMT 2006
Hi,
I found an example on MS site and entered a strings like that:
"DC01#00" 0 10.7.61.1 66R
"DC01#03" 0 10.7.61.1 66R
"DC01#20" 0 10.7.61.1 66R
"DCDOMAIN#00" 0 255.255.255.255 e4R
"DCDOMAIN#1b" 0 10.7.61.1 64R
"DCDOMAIN#1c" 0 10.7.61.1 e4R
"DCDOMAIN#1e" 0 255.255.255.255 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?
-----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