[Samba] Removing share from smb.conf

Marc Muehlfeld mmuehlfeld at samba.org
Mon Oct 5 19:41:16 UTC 2015


Hello James,

Am 05.10.2015 um 21:34 schrieb James:
>     I notice if I simply comment out a share or remove entirely. I
> receive errors such as theses. Is there a proper protocol to follow when
> removing a share?
> 
> process_usershare_file: stat of /var/lib/samba/usershares/myshare
> failed. No such file or directory
> 
> ../source3/param/loadparm.c:4366(process_usershare_file)
> 
> process_usershare_file: stat of /var/lib/samba/usershares/myshare
> failed. Permission denied


Did you restart Samba after the change or run
# smbcontrol all reload-config?


Regards,
Marc



More information about the samba mailing list