wins and smbd api

Jeremy Allison jra at samba.org
Mon Mar 7 19:26:25 GMT 2005


On Mon, Mar 07, 2005 at 11:27:42AM -0700, David Bear wrote:
> for some strange reason, our wins servers occasionally drop samba
> servers out of there name space. to deal with this, I cron'ed a
> restart of samba at midnight everynight. This was a quick solution,
> but a lousy one.
> 
> I would rather have some way to have samba regularly send name
> registration requests to wins. Is there a way to do this?
> 
> barring that, is there some interface I can query on samba before
> sending it a kill signal to make sure there are no open files? I would
> like a 'gracefull' way to have samba resatart.

smbstatus will tell you what files are open - we need to add a
smbcontrol interface to allow "graceful" closing of files (although
it won't be graceful to the client of course :-).

Jeremy.


More information about the samba-technical mailing list