[Samba] Removing share from smb.conf
Reindl Harald
h.reindl at thelounge.net
Mon Oct 5 19:40:31 UTC 2015
Am 05.10.2015 um 21:34 schrieb James:
> Hello,
>
> 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
what else do you expect after remove a share?
frankly you can select a random error message (you can't but it don't
matter) but you get a error when someone directly enters the url to a no
longer existing share
simple facts:
* did the user get access
* the answer is no
* so where is your problem?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20151005/5d1030a9/signature.sig>
More information about the samba
mailing list