server icon indicating copy to clipboard operation
server copied to clipboard

(LDAP) Quotas are reset on login

Open Highview-Lucas opened this issue 7 years ago • 4 comments

User quotas are reset to "ldapQuotaDefault" when logging in to nextcloud each time.

Steps to reproduce: Set a new quota for any user - either via $ ./occ user:setting TheUser files quota 1024Gb or via the Web UI.

Log user out. Log user in. Quota is now set to the value set by ./occ ldap:set-config s01 ldapQuotaDefault

Setting to be "Unlimited" does not give the user unlimited quota, but does break the updates enough that changing the quota actually persists through logout/login cycles.

Highview-Lucas avatar Oct 21 '19 04:10 Highview-Lucas

Similar to https://github.com/nextcloud/server/issues/17154?

kesselb avatar Oct 21 '19 09:10 kesselb

yes - that one was closed so i opened a new one.

The only difference is my default quota is not set in LDAP (there is none at all) and the default is set via the "files quota" occ setting.

Highview-Lucas avatar Oct 21 '19 21:10 Highview-Lucas

./occ ldap:set-config s01 ldapQuotaDefault the value is missing as argument, use two single quotes for empty: ''.

blizzz avatar Jan 29 '20 16:01 blizzz

please try the solution from blizzz

if this doesn't work in a recent version like Nextcloud 22.2.0, feel free to reopen

PVince81 avatar Nov 11 '21 16:11 PVince81