Manually expire duplicate netbios name
Alexander 'Leo' Bergolth <leo <at> strike.wu-wien.ac.at>
2009-03-01 18:18:48 GMT
Yesterday, after migrating to a new server, I accidentally started an
identically configured smbd and nmbd on the old machine.
Since then, there are two netbios entries, even though the first host
(192.168.60.5) is down since yesterday:
# nmblookup -U localhost -R 'SAMBA'
querying SAMBA on 127.0.0.1
I've already tried to remove NBT/SAMBA#20\0 from
/var/lib/samba/gencache.tdb using tdbtool. Besides, I deleted suspicious
entried from wins.dat. (Both with or without nmbd running.)
Unfortunately I don't know how to remove them from wins.tdb.
When restarting nmbd, it complains that there is already a domain master
browser, but it queries it's own wins-server (192.168.60.3). (See below.)
Any hints on how I can manually delete the wrong ip address from the
netbios-cache / wins server?
Mar 1 18:58:08 samba nmbd: [2009/03/01 18:58:08, 0]
Mar 1 18:58:08 samba nmbd: started asyncdns process 23488