[Samba] smb.conf question

Martyn Ranyard ranyardm at lineone.net
Tue Feb 12 09:28:02 GMT 2002


Strange.

 From the man page :

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.

And it seems to work for me.

Martyn.

At 12:07 PM 2/12/02 -0500, Joel Hammer wrote:
>I am fairly sure kill -HUP smbd does not do an immediate reload of
>smb.conf, at least not on my linux box. I am now monitoring my smb.conf
>file with:
>
>ls -al --time=acces to see how often it is accessed. Right now,
>Tue Feb 12 11:58:26 EST 2002
>this yields:
>Feb 12 09:32 /usr/local/samba/lib/smb.conf
>
>So, no reload, it seems, for over two hours.
>Joel
>
> > At 04:30 PM 2/12/02 +0000, Mark Cooke wrote:
> > >Yes, it refreshes every so often (every 20-30sec's I think), though I am
> > >not 100% of the exact time, If you make a change to the smb.conf, 
> there is
> > >generally no need to restart samba,
> > >that is unless you want an immediate response..
> >
> > In which case, send the processes a HUP signal (which just reloads the
> > config file) :
> >
> > (on linux) killall -HUP smbd
> >
> > (on others) kill -HUP <pid of smbd>
> >
> > Hope this helps.
> >
> > >Mark
> > >
> > >At 04:17 PM 2/12/02, Jeff Rasnick wrote:
> > >>While the Samba server is running, does it ever refresh the contents of
> > >>the smb.conf file, or do you have to restart the server for it to see
> > >>changes to the smb.conf file?  Thanks in advance.
> > >>
> > >>Jeff Rasnick
> > >>Software Technologies, Inc.
> > >><http://www.softtechks.com>www.softtechks.com
> > >
> > >-----
> > >----------
> > >Mark Cooke
> > >Internet Operations Technician
> > >MM Group Ltd
> > >Tel: 8141 (Internal)
> > >Tel: (0117) 9168141 (External)
> > >Email: mark at mmebs.co.uk
> > >http://www.mmgroup.co.uk
> > >
> > >
> > >--
> > >To unsubscribe from this list go to the following URL and read the
> > >instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> > Martyn
> >
> > Life's a bitch, but so am I.
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba

--------------
Martyn Ranyard

I am not a member of the samba team,
and anything that I say may not be as
accurate as a response from one of the
team.  I reply to save those more
qualified time, which can more usefully
be spent developing SAMBA further.





More information about the samba mailing list