[Samba] Weird usershares attempted use

Stephen Brandli steve at brandli.com
Mon Feb 17 03:14:46 UTC 2025


Another issue I don't understand:

On two different samba servers, smbd logs errors like this:

Feb 16 18:36:29 roberts smbd[136]:   process_usershare_file: stat of /var/lib/samba/usershares/business failed. Permission denied

Neither machine have configured usershares.  There are no users on the sambashare group.  The server logging the above error is replacing a file server that had a share called "business."  However, the smb.conf file for the new server does not presently include that share.  (But the client I was testing with has that share pinned.)  The other server is logging permutations of the word "personal" as if the client machine is sending messages to the file server as the user types in the word "personal," the name of a valid share on that server.

Should these file servers be attempting to write to usershares under these circumstances?

                Steve




More information about the samba mailing list