refresh requests to WINS when not registered

Jeremy Allison jallison at
Mon Aug 31 17:09:37 GMT 1998

Andrew Tridgell wrote:
> This is primarily for Jeremy, but I thought others might be
> interested.
> When a Samba WINS server is restarted it needs to be able to recover
> its name list within a reasonable period of time. If it can load the
> list from wins.dat then all is OK but it is also important to be able
> to recover when wins.dat is unavailable for some reason.

This is where good backups come in :-) :-).

> I just tested at home and found that when nmbd is restarted without
> wins.dat it does not recover its name list at all. The problem is that
> when the various machines send their name refresh requests nmbd sends
> error replies and does not add the names. This is actually correct
> behaviour but unfortunately NTWS4 does not then respond by
> re-registering its names.

Ah - another NT bug to add to the list.... (so long as we don't
do the same thing :-).

> I think we need to handle this errant NT behaviour by treating name
> refresh requests on unregistered names just like name registration
> requests. Is there any reason why we shouldn't do this?

Ok - that sounds reasonable and would help to rebuild
the db once someone has had an 'accident' :-).

I can't think of any reason not to do this.


Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-technical mailing list