Is there a way to completely disable usershare
in Samba?
Don't be confused with the users home share:
man smb.conf
Starting with Samba version 3.0.23 the capability for non-root users to add, modify, and delete their own share definitions has been added. This capability is called usershares ...
I totally don't want to use this feature and it doesn't even work, however it is still spamming my samba log, like:
[2022/09/01 11:16:05.109951, 0] ../../source3/param/loadparm.c:3445(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/test1 failed. Permission denied
What is the way to disable this checking or as a workaround how I could suppress these log lines...