Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(LDAP) Quotas are reset on login #17614

Closed
Highview-Lucas opened this issue Oct 21, 2019 · 4 comments
Closed

(LDAP) Quotas are reset on login #17614

Highview-Lucas opened this issue Oct 21, 2019 · 4 comments
Labels

Comments

@Highview-Lucas
Copy link

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.

@kesselb
Copy link
Contributor

kesselb commented Oct 21, 2019

Similar to #17154?

@Highview-Lucas
Copy link
Author

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.

@blizzz
Copy link
Member

blizzz commented Jan 29, 2020

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

@PVince81
Copy link
Member

please try the solution from blizzz

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants