Manually expire duplicate netbios name
Alexander 'Leo' Bergolth <leo <at> strike.wu-wien.ac.at>
2009-03-01 18:18:48 GMT
Hi!
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
192.168.60.5 SAMBA<00>
192.168.60.3 SAMBA<00>
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?
Thanks,
--leo
Mar 1 18:58:08 samba nmbd[23487]: [2009/03/01 18:58:08, 0]
nmbd/asyncdns.c:start_async_dns(155)
Mar 1 18:58:08 samba nmbd[23487]: started asyncdns process 23488
(Continue reading)