WINS static entry support (Re: WINS again ;-))

TAKAHASHI Motonobu monyo at samba.gr.jp
Thu Sep 20 00:30:02 GMT 2001


Sanvir Singh Jham wrote:
>I have checked the wins.dat file and there is no entry for this debian
>mailserver. I tried to manually put an entry, but then this does not
>last for long.

wins.dat file is read when nmbd starts and write-back when nmbd stops.
So, if you modify wins.dat manually, first you should stop nmbd.
And then please add entries like:

"SAMBA#1c" 0 192.168.10.67 192.168.10.43 e4R
           |                             ~~~ <-- means NetBIOS group name
           | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ <-- multiple IP addresses is 
           |                                 seperated with a space
           +-- TTL = 0 means forever

"DONAU#20" 0 192.168.10.67 64R   
                           ~~~ <-- means NetBIOS unique name
       ~~ <-- suffix must be written with lower case.

and restart nmbd.

This probably works well, but not much tested.
Please examine and I want a report from you :-)

-----
TAKAHASHI, Motonobu(monyo)         monyo at samba.org
Personal - http://home.monyo.com/
Samba Team - http://samba.org/     Samba-JP - http://www.samba.gr.jp/  
JWNTUG - http://www.jwntug.or.jp/  Analog-JP - http://www.jp.analog.cx/
MCSE+I, SCNA, CCNA, Turbo-CI






More information about the samba-technical mailing list