Comment 11 for bug 33068

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 33068] Re: [shares-admin] NFS/SMB not restarted once shares are added - require manual restart

On Thu, Oct 11, 2007 at 03:45:40PM -0000, Sebastien Bacher wrote:
> "Samba shouldn't need to be restarted to pick up new shares as it rereads the
> samba configuration files every minute or so."
>
> That looks like a samba issue
>

I confirm that samba automatically reload its configuration file if it
has been modified.

However, the new configuration won't be applied to clients already
connected. samba needs to be restarted (and thus break/close all
existing connections).

So if you're connected to a share, unshare it on the server, and keep
the connection open, it will still work. New connections won't succeed
though.

--
Mathias