Web lists-archives.com

Re: [Samba] weird messages in logs




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.

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