-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Quotas in LDAP setup #1761
Comments
BTW: Behaves the same in 4.5.6 and 5.0-alpha 1 |
@blizzz can you please have a look? THX |
The idea of LDAP is the central managament of users. Thus, it seems awkward to do parts in ownCloud and parts in LDAP. My suggestion is to define Quota in LDAP solely. You cannot do both in a reliable and determinable way. Of course it can be made to act like this. But, it will require additions within ownCloud core and there are some sharp edges that need to be taken care of resulting in some overhead. It is complicated (compared to the gain) and I honestly do not see much reason there. Convince me ;) P.S.: |
Probably you missed my point. The idea is to NOT allow users to specify quotas in the WebUI when the quota is defined/retrieved from LDAP. If UserSource = LDAP |
Overread this, excuse me. Agree, it is not nice. Shouldn't be a problem however, because on every userExists the Quota will be updated. Actually, it is not wrong to offer this setting, when the Quota-from-LDAP feature is not used. It is one of more drawbacks of the Users UI. |
The Users page will be redesigned, see #1927 The correct behaviour should be implemented there. Imho this is a rather small issue then a big problem, and thus OK to be resolved with ownCloud 6 (with the issue given above). Hope this is OK. |
hi, i was looking for so long for a solution to a problem regarding quotas, i'm working now with both owncloud7 and 8 versions, for the first time when a user sign in the quota is updated successfuly, but if i change the quota in the ldap, it does not get updated ? |
Once every 24h. |
@issamo12 I think i found a solution for your Problem. I had the same issue as well an 24h are to long for me. You can edit the interval in the File \apps\user_ldap\lib\user\user.lib at line 209 manually. Just edit the value in Seconds. 86400 = 24h. But keep in mind that this will increase server and network load! |
We have our users in LDAP and this integration works fine.
One thing which cause(d) us troubles is the handling of quotas.
In the LDAP setup we only have defined the default quota and no individual quotas.
When we now go in the admin interface of ownCloud, we can change the quotas of the users to somethings else.
But as sonn as a user does a login, the quota value for that user is replaced by the default quota as defined in the LDAP setup.
It should not be possible to change/override the quota on user-level, when the quota value is fetched from the LDAP setup
The text was updated successfully, but these errors were encountered: