connection path question

Jeremy Allison jra at samba.org
Fri Sep 7 13:02:00 MDT 2012


On Thu, Sep 06, 2012 at 06:05:58PM -0700, Herb Lewis wrote:
> What should happen to an existing smb connection if you change the
> path of the share? Do you have to kill the smbd to make it refer to the new
> path? I have tried using "smbcontrol close-share" and smbcontrol
> reload-config"
> but nothing seems to work. I see it read the new path during the reload but
> the client still sees the old path.
> 
> I was hoping not to have to kill the smbd and disrupt connections to other
> shares.

Yes, once we have an open connection struct we need to disconnect
it (close-share) then reload-config should cause the share
path to get updated.

Do you have a quick reproducer with smbclient I can look at
here ?

Jeremy.


More information about the samba-technical mailing list