KircheNeuenburg / ldapcontacts

View other LDAP users as contacts in Nextcloud and see the personal data they shared
GNU Affero General Public License v3.0
18 stars 12 forks source link

Insufficient access while changing the own entry. #45

Open andreasgremm opened 4 years ago

andreasgremm commented 4 years ago

While using the settings to modify the OWN Entry I receive the following error:

[PHP] Error: ldap_mod_replace(): Modify: Insufficient access at /var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php#335

POST /nextcloud/index.php/apps/ldapcontacts/own from info removed

Probably this is because the Write is done with the LDAP-User who is used to connect to the LDAP Directory. This user is only allowed to browse (read) as described in https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/user_auth_ldap.html

The current user should be used and the actual password should be requested to enable the write to the LDAP entry.