I am unsuccessfully trying to apply quotas to the users home directories for all users by using a policy.
- UCS 5.03
- I activated quota for partition vg_ucs-home
- I defined a policy “Schueler Home Dir Quota” (150MB/200MB for soft/hard limit)
- I applied it to the top level LDAP tree (because I did not know where else to put it)
- I checked to apply at every login
When I now login, no quota is enforced
When I set quotas manually for a user, it works
The quota seems to be active for the user:
root@info:~/scratch# univention-policy-result -D "$(ucr get ldap/hostdn)" -y /etc/machine.secret "uid=pupil.one,cn=users,dc=myschool,dc=intranet"
DN: uid=pupil.one,cn=users,dc=myschool,dc=intranet
POLICY uid=pupil.one,cn=users,dc=myschool,dc=intranet
Policy: cn=Schueler Home Dir Quota,cn=policies,dc=myschool,dc=intranet
Attribute: univentionQuotaReapplyEveryLogin
Value: TRUE
Policy: cn=Schueler Home Dir Quota,cn=policies,dc=myschool,dc=intranet
Attribute: univentionQuotaHardLimitSpace
Value: 200MB
Policy: cn=Schueler Home Dir Quota,cn=policies,dc=myschool,dc=intranet
Attribute: univentionQuotaSoftLimitSpace
Value: 150MB
Policy: cn=default-settings,cn=pwhistory,cn=users,cn=policies,dc=myschool,dc=intranet
Attribute: univentionPWLength
Value: 8
Policy: cn=default-settings,cn=pwhistory,cn=users,cn=policies,dc=myschool,dc=intranet
Attribute: univentionPWHistoryLen
Value: 3
Any hint what I might be missing?