[Samba] weird messages in logs

Rowland Penny rpenny at samba.org
Fri May 25 15:55:04 UTC 2018


On Fri, 25 May 2018 17:39:24 +0200
Emmanuel Florac via samba <samba at lists.samba.org> wrote:

> 
> Hi everyone, 
> 
> 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
> 
> 
> 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.
> 

If you must use such an old EOL version of Samba, try what it says in
that Debian bugreport. A better cure would be to update Samba to a
currently supported version (4.6.x, 4.7.x or 4.8.x)

Rowland



More information about the samba mailing list