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 = 0It 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.
Mandi! Jeremy Allison via samba In chel di` si favelave...> > [global] > > .... > > usershare max shares = 0Old bug return from the past... i'm the initial submitter. Bug is still in samba 4.5 (louis packages), in DC and in DM mode. Manpage says that 'usershare max shares' is just at '0' as default, but i'll give it a try and report back. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
> Manpage says that 'usershare max shares' is just at '0' as default, but > i'll give it a try and report back.OK, seems to work, log error desappeared. I can fire up bug for the manpage?! -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Maybe Matching Threads
- weird messages in logs
- weird messages in logs
- Printer desappeared... configuration and backup?
- wbinfo -i returns the same id for all users, authentication doesn't seem to go through winbind at all
- wbinfo -i returns the same id for all users, authentication doesn't seem to go through winbind at all