As was used to (in Samba NT/LDAP), i've enabled quota on /homes, and homes are exported (as homedrive) for users. Editing quotas (with edquota) works as expected, and in windows explorer users get quota correctly reported, but a simple: repquota -a return nothing: root at vdmsv1:~# repquota -a *** Report for user quotas on device /dev/sdb1 Block grace time: 28days; Inode grace time: 28days Block limits File limits User used soft hard grace used soft hard grace ---------------------------------------------------------------------- root -- 4 0 0 5 0 0 it is because users are not enumerated? I've tried to set: winbind enum users = yes but seems to me nothing changed... 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)
What shows 'getent passwd'? Regards Micha Am 26. März 2018 21:35:29 MESZ schrieb Marco Gaiarin via samba <samba at lists.samba.org>:> >As was used to (in Samba NT/LDAP), i've enabled quota on /homes, and >homes are exported (as homedrive) for users. > >Editing quotas (with edquota) works as expected, and in windows >explorer >users get quota correctly reported, but a simple: > > repquota -a > >return nothing: > > root at vdmsv1:~# repquota -a > *** Report for user quotas on device /dev/sdb1 > Block grace time: 28days; Inode grace time: 28days > Block limits File limits > User used soft hard grace used soft hard grace > ---------------------------------------------------------------------- > root -- 4 0 0 5 0 0 > > >it is because users are not enumerated? I've tried to set: > > winbind enum users = yes > >but seems to me nothing changed... > > >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) > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba-- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
On Mon, 26 Mar 2018 21:35:29 +0200 Marco Gaiarin via samba <samba at lists.samba.org> wrote:> > As was used to (in Samba NT/LDAP), i've enabled quota on /homes, and > homes are exported (as homedrive) for users. > > Editing quotas (with edquota) works as expected, and in windows > explorer users get quota correctly reported, but a simple: > > repquota -a > > return nothing: > > root at vdmsv1:~# repquota -a > *** Report for user quotas on device /dev/sdb1 > Block grace time: 28days; Inode grace time: 28days > Block limits File limits > User used soft hard grace used soft hard > grace > ---------------------------------------------------------------------- > root -- 4 0 0 5 0 0 > > > it is because users are not enumerated? I've tried to set: > > winbind enum users = yesAll this does is make 'getent' show all users, provided smb.conf and AD are set up correctly. It might help if you posted your smb.conf. Rowland
Mandi! Micha Ballmann via samba In chel di` si favelave...> What shows 'getent passwd'?Only local users, of course. Seems this is the culprit. I've tried 'quota' and works as expected: root at vdmsv1:~# quota -su gaio Disk quotas for user gaio (uid 10000): Filesystem space quota limit grace files quota limit grace /dev/sdb1 204K 51200M 56320M 39 50000 55005 so seems that simply 'repquota' depend heavily on 'enumerated' users. Sorry to all. -- 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)