[Samba] weird messages in logs

Denis Cardon dcardon at tranquil.it
Fri May 25 17:01:53 UTC 2018

Hi Emmanuel,

> I have the exact same problem as this:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772154
> But the Samba version is different and much newer (Debian
> Wheezy 2:4.1.17+dfsg-1~bpo70+1). B
> asically many errors appear about non existing usershares. These fake
> usershares are just the user name, but truncated of the last character.
>    process_usershare_file: stat of /var/lib/samba/usershares/netlogo
>    failed. No such file or directory

It is not a bug per se, but I'd say it does not have the best default 
parameter value. Try adding the following parameter in your [global] 
section (the default value here is 100 on my Debian package) and restart 

usershare max shares = 0



> There are so many messages that the server performance drops
> dramatically!
> Our friend L.P.H. van Belle (who lurks here, I know) did an answer
> to this bug report that I don't completely understand, though. So this
> isn't a bug, alright. What is causing this? Are the client machines
> trying to access these shares, or create it?
> I don't understand either (or find in the documentation) how to disable
> these usershares. Any help and explanation appreciated.

Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint SĂ©bastien sur Loire
tel : +33 (0)

Samba install wiki for Frenchies : https://dev.tranquil.it
WAPT, software deployment made easy : https://wapt.fr

More information about the samba mailing list