On 23/09/2019 13:42, Trenta sis via samba wrote:> Thanks, ntlm auth is temporary until we have solved some issues > getent is needed by filesystem acl >If you think you need the 'winbind enum' lines so that 'getent' works, then think again ;-) If you do not have the 'winbind enum 'lines 'getent passwd username' will still work. 'getent passwd' will only display local users, but, 'getent passwd rowland' displays this: rowland:*:10000:10000:Rowland Penny:/home/rowland:/bin/bash I repeat (louder this time): NO ONE NEEDS THE 'WINBIND ENUM' LINES IN SMB.CONF Rowland
Mandi! Rowland penny via samba In chel di` si favelave...> I repeat (louder this time): NO ONE NEEDS THE 'WINBIND ENUM' LINES IN > SMB.CONFWhile it is true that i can live happily without 'winbind enum', it is not completely true that 'no one needs' that. For example, quota: root at vdmsv1:~# repquota -a *** Report for user quotas on device /dev/sdc1 Block grace time: 28days; Inode grace time: 28days Block limits File limits User used soft hard grace used soft hard grace ---------------------------------------------------------------------- root -- 16735556 0 0 664 0 0 debian-spamd -- 1216 0 0 17 0 0 help -- 48 0 0 10 0 0 While clearly if i explicitly ask quota, works as expected: root at vdmsv1:~# quota gaio Disk quotas for user gaio (uid 10000): Filesystem blocks quota limit grace files quota limit grace /dev/sdc1 557512 52428800 57671680 2012 50000 55005 or: root at vdmsv1:~# quotatool -u gaio -d /dev/sdc1 10000 /dev/sdc1 557588 52428800 57671680 0 2012 50000 550050 This, most notably, 'broke' warnquota, that does not send warning to users; i need to 'code' a different warning script, because simply warnquota is no more able to enumerate users... -- 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)
Hai, Looks like : https://bugzilla.samba.org/show_bug.cgi?id=7270 And https://bugzilla.samba.org/show_bug.cgi?id=13769 You could update this/these bugreport(s) Full qouta search list : https://bugzilla.samba.org/buglist.cgi?quicksearch=quota&list_id=25312 Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Marco Gaiarin via samba > Verzonden: maandag 23 september 2019 16:19 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] testparm comaprison > > Mandi! Rowland penny via samba > In chel di` si favelave... > > > I repeat (louder this time): NO ONE NEEDS THE 'WINBIND > ENUM' LINES IN > > SMB.CONF > > While it is true that i can live happily without 'winbind enum', it is > not completely true that 'no one needs' that. > > For example, quota: > > root at vdmsv1:~# repquota -a > *** Report for user quotas on device /dev/sdc1 > Block grace time: 28days; Inode grace time: 28days > Block limits File limits > User used soft hard grace used soft > hard grace > > ---------------------------------------------------------------------- > root -- 16735556 0 0 664 0 > 0 > debian-spamd -- 1216 0 0 17 0 > 0 > help -- 48 0 0 10 0 > 0 > > > While clearly if i explicitly ask quota, works as expected: > > root at vdmsv1:~# quota gaio > Disk quotas for user gaio (uid 10000): > Filesystem blocks quota limit grace files > quota limit grace > /dev/sdc1 557512 52428800 57671680 2012 > 50000 55005 > or: > root at vdmsv1:~# quotatool -u gaio -d /dev/sdc1 > 10000 /dev/sdc1 557588 52428800 57671680 0 2012 50000 550050 > > > This, most notably, 'broke' warnquota, that does not send warning to > users; i need to 'code' a different warning script, because simply > warnquota is no more able to enumerate users... > > -- > 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) > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
On 23/09/2019 15:18, Marco Gaiarin via samba wrote:> Mandi! Rowland penny via samba > In chel di` si favelave... > >> I repeat (louder this time): NO ONE NEEDS THE 'WINBIND ENUM' LINES IN >> SMB.CONF > While it is true that i can live happily without 'winbind enum', it is > not completely true that 'no one needs' that. > > For example, quota: > > root at vdmsv1:~# repquota -a > *** Report for user quotas on device /dev/sdc1 > Block grace time: 28days; Inode grace time: 28days > Block limits File limits > User used soft hard grace used soft hard grace > ---------------------------------------------------------------------- > root -- 16735556 0 0 664 0 0 > debian-spamd -- 1216 0 0 17 0 0 > help -- 48 0 0 10 0 0 > > > While clearly if i explicitly ask quota, works as expected: > > root at vdmsv1:~# quota gaio > Disk quotas for user gaio (uid 10000): > Filesystem blocks quota limit grace files quota limit grace > /dev/sdc1 557512 52428800 57671680 2012 50000 55005 > or: > root at vdmsv1:~# quotatool -u gaio -d /dev/sdc1 > 10000 /dev/sdc1 557588 52428800 57671680 0 2012 50000 550050 > > > This, most notably, 'broke' warnquota, that does not send warning to > users; i need to 'code' a different warning script, because simply > warnquota is no more able to enumerate users... >For normal use, nobody needs 'winbind enum' and you will be able to script around 'repquota' without the 'winbind enum' lines in smb.conf, probably using a for loop around the output of 'wbinfo -u' Rowland
Mandi! L.P.H. van Belle via samba In chel di` si favelave...> Full qouta search list : > https://bugzilla.samba.org/buglist.cgi?quicksearch=quota&list_id=25312I don't think it's a samba bug! Simply i'm pointing out that disabling 'winbind enum' can lead to some 'glitches', mostnotably 'getent passwd' return no domin users (by design) and repquota/warnquota does not work. -- 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)