On Mon, Mar 07, 2005 at 11:26:25AM -0800, Jeremy Allison wrote:
> 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 :-).


yes, I know smbstatus will tell me what files are open. however,
theres a lot of text to parse. sorry to be lazy but is there an
option have the output be in more of a stuctured format. text
interfaces are ok...

>
> Jeremy.


--
David Bear
phone: 480-965-8257
fax: 480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
"Beware the IP portfolio, everyone will be suspect of trespassing"