On Wed, 13 Jun 2007 08:49:46 +1200 (NZST)
Nick Rout <[EMAIL PROTECTED]> wrote:

> 
> On Tue, June 12, 2007 3:13 pm, Roger Searle wrote:
> > Robert Fisher wrote:
> >> On Tuesday 12 June 2007 2:17 pm, Reg wrote:
> >>
> >>
> >>>> You can also restart samba using SWAT
> >>>>
> >>> How do you do that?
> >>>
> >>>
> >> I do not have SWAT installed but I know that you can restart smbd and
> >> nmbd
> >> somewhere.
> >>
> >> Is it the "Status" tab?
> >>
> >>
> > I don't have swat installed here either so if you can't find it yourself
> > by looking around for something that refers to "restarting" "server" or
> > "samba" then there are the other options.
> >
> > /etc/init.d/smb restart (at the command line)
> 
> some distros call the service samba or smbd rather than smb.
> 
> Do this when someone else on the lan is in the middle of a database
> transaction or editing a document and you may have unhappy users. Rather
> you could look at man smbd (available via swat) and read:
> 
> "The configuration file, and any files that it includes, are automatically
> reloaded every minute, if they change. You can force a reload by sending a
> SIGHUP to the server. Reloading the configuration file will not affect
> connections to any service that is already established. Either the user
> will have to disconnect from the service, or smbd killed and restarted."
> 
> 
> Also swat has the ability to restart on the "Status" Tab where there are
> buttons for starting and restarting smbd and/or nmbd and/or both.
> 
> >
> > In Yast > System > System Services > scroll down and find "smb", click
> > disable, acknowledge the dialog box that tells you "Shutting down Samba
> > SMB daemon", then click enable.
> >
> > restart your computer (really, that is such a poor way of doing it, but
> > will "work")
> 
> Not necessary at all.
> 
> -- 
> Nick Rout
> 
There's a reload option to most /etc/init.d/samba scripts which does just 
that...

Reply via email to