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

TAKAHASHI Motonobu monyo at samba.org
Thu Sep 20 05:50:06 GMT 2001


Rafal Szczesniak wrote:
>Monyo, wouldn't it expire after a period of time, if wins server did
>not receive an announcement from the (recorded-by-hand) host ?

Probably not.

For exampie in source/nmbd/nmbd_winsserver.c:1388
    /*
     * If the name has expired then reply name not found.
     */

    if( (namerec->data.death_time != PERMANENT_TTL)
     && (namerec->data.death_time < p->timestamp) )

So it seems that specifying permanent TTL ( means 0) will avoid the
expiranation.

-----
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