CVS update: samba/source/nmbd

tridge at samba.anu.edu.au tridge at samba.anu.edu.au
Sun Aug 30 15:44:00 EST 1998


Date:	Sunday August 30, 1998 @ 15:44
Author:	tridge

Update of /data/cvs/samba/source/nmbd
In directory samba:/tmp/cvs-serv11858

Modified Files:
	nmbd_winsserver.c 
Log Message:
changed the format of the wins.dat file slightly.

It now has a line like this:

VERSION 1 251152

the first number is a version #define in nmbd_winsserver.c and will be
used if we ever have to change the format again.

The second number is a hash of the current interfaces setting. It is
used to detect the case where nmbd is restarted on a machine after the
IP of the machine has changed (or the interfaces list has changed in
any way). When that happens we need to discard the old wins.dat cache
or you end up with chaos. This has bitten quite a few people, they
find that when they move a machine it continues using the old IP for
some things for the next week until the wins entries time out! 

I've checked, and the old nmbd can handle the new format, although it
does spit out a spurious error message about the VERSION line. So
users can safely run 2.0alpha then switch back to 1.9.18 without
problems.



More information about the samba-cvs mailing list