‘ldapProviderFactory’ => ‘OCA\User_LDAP\LDAPProviderFactory’,Īddition 3: So far, I could find out that the reading of the LDAP attributes for the users basically seems to work. ‘memcache.locking’ => ‘\OC\Memcache\Redis’, ‘datadirectory’ => ‘/var/www/nextcloud/data’, Set the according attribute in NC’s LDAP config.Configure user’s storage quota via LDAP attribute.Is this the first time you’ve seen this error?: Y However, there a some reoccurring errors concerning LDAP user password excession checks (I don’t know whether they’re related to the problem or not, though):Įrror: array_key_exists() expects parameter 2 to be array, null given at /var/array_key_exists() expects parameter 2 to be array, null given at /var/www/nextcloud/apps/user_ldap/lib/User/User.php#660 I couldn’t find any suspicious log entries that seem to point to a specific cause. The general LDAP connection test is successful. What is weird: The graphical display of the storage usage (the little “progress bar”) for the users seems to be pretty accurate concerning their configured quotas. I tried changing the value on DB level, but with no effect. When looking at table oc_preferences on DB level for the affected users, the correlating user parameter has the weitd value “?”. It seems like NC doesn’t process the configured LDAP attribute properly any longer. On OS level there’s more than enough free space available on the related mount. Since the NC 25 upgrade, all NC users whose quota is configured via LDAP are shown with a quota of 0 B in the user overview and also get “insufficient storage” errors etc. Since I configured the LDAP connection, this worked like a charm. The parameter is set in NC’s LDAP config with a fallback value of 50 MB. For non-admin/service users, the user’s file quota is configured as a profile parameter of the LDAP user (usually 50 GB). I use an openLDAP server as user backend for my Nextcloud instance since NC 20 or 21. Operating system and version: Linux 5.10.103-v8+ aarch64 (Raspbian)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |