[Samba] smbcontrol

Carlos R. Pena Evertsz carlosrpevertsz at gmail.com
Mon Sep 7 19:30:15 UTC 2015


Hello to everybody in the list.

I want to stop sharing the share named "My_Share" until the server is 
rebooted. I tried the following command, but it is not working:

         sudo smbcontrol smbd close-share My_Share

It is returning the following:

             Ignoring unknown parameter "use client drivers"
            WARNING: [printers] service MUST be printable!
            Ignoring unknown parameter "use client drivers"

also tried
       sudo smbcontrol smbd close-share 'My_Share'
       sudo smbcontrol smbd close-share "My_Share"

I will really appreciate any help. My server is Ubuntu 12.04LTS running 
Samba Version 3.6.3

Sincerely,

Carlos




More information about the samba mailing list