You can do it by just edit the wins.dat file and restart nmbd.
No need to stop smbd while you do that, of course while nmbd is down you
will have some limited functionality (read problems resolving names),
but you should be able to do that in a very short time frame.
Simo.
On Mon, 2006-04-17 at 11:33 -0400, Collins, Kevin wrote:> Is there a way - without killing off Samba - to force a rebuild of the WINS
database that Samba is maintaining?
>
> I've got a couple of completely bogus entries in WINS and I need to get
rid of them, but I can't take the Samba server down to do it. I'm
hoping that I can issue a couple of commands and poof the WINS database is blown
away and it starts to repopulate with good data.
>
> If I *HAVE* to take Samba down then I will but I'd prefer not to.
>
> --
> Kevin L. Collins, MCSE
> Systems Manager
> Nesbitt Engineering, Inc.
--
Simo Sorce
Samba Team GPL Compliance Officer
email: idra@samba.org
http://samba.org