[Samba] testparm comaprison
Marco Gaiarin
gaio at sv.lnf.it
Mon Sep 23 14:18:35 UTC 2019
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)
More information about the samba
mailing list