Web lists-archives.com

Re: [Samba] weird messages in logs

Hi Emmanuel,

I have the exact same problem as this:


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 smbd:

usershare max shares = 0



There are so many messages that the server performance drops

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

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba