[Samba] weird messages in logs
Jeremy Allison
jra at samba.org
Fri May 25 17:07:30 UTC 2018
On Fri, May 25, 2018 at 07:01:53PM +0200, Denis Cardon via samba wrote:
> 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 smbd:
>
> [global]
> ....
> usershare max shares = 0
It was set to 100 so that desktop Linux users could
use the file manager to right click and "Share As.." by
default without configuring the server. Did that back
when I was in Novell selling SuSE Linux.
More information about the samba
mailing list