DHCP and WINS.... wins.dat is out of date

Paul Miller paul at pinheiro.tcimet.net
Sun Jan 6 13:28:02 GMT 2002


My wins.dat seems to be rather out of date.  I'm running Samba 2.2.2 as a wins server with dhcp.  When the client address changes, Samba doesn't seem to update wins.  The clients are Win2k & WinXP.  In the manual page, it suggests that I shouldn't change the max/min ttl parameters.  Can I hook dhcp to samba somehow?

Rebooting the out of date clients triggered Samba to update wins.dat right away.  Perhaps this is more of an issue with windoz not telling Samba that it's ip changed.  I don't want to rely on m$ though... that's usually a bad idea.

I'm looking for a good way to synchronize DNS, DHCP, and WINS.  Currently, I have a script that runs every 15 minutes to try to compile DNS files based on browse.dat and results from nmblookup.  I used to use wins.dat, but it's never as current as browse.dat (why doesn't Samba update them together???).

Anyone else running Samba with dhcp?

-Paul




More information about the samba mailing list