[Samba] smbcontrol
Carlos R.P.Evertsz
carlosrpevertsz at gmail.com
Tue Sep 8 12:58:15 UTC 2015
Hi Mark,
I don't need to close the share permanently. I want to close the share
using a command that can be executed when i need it or scheduled with
at/cron.
smbcontrol close-share is exactly what i need, but i don't know how to
make it work.
Carlos
On Sep/07/2015 4:26 PM, Mark Nienberg wrote:
> On Mon, Sep 7, 2015 at 12:30 PM, Carlos R. Pena Evertsz <
> carlosrpevertsz at gmail.com> wrote:
>
>> Hello to everybody in the list.
>>
>> I want to stop sharing the share named "My_Share" until the server is
>> rebooted.
>
> Just add this to the share definition in smb.conf:
>
> [My_Share]
> available = no
>
More information about the samba
mailing list