Can't Get LDAP plugin working after changing Server Password

Everything was working fine until we changed password for the admin account on Active Directory which was used to setup LDAP on NC.
Next we login into NC using local “Administrator” account to update LDAP setting with new password but when you select Account > Settings> we get following error:
"Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.

Technical details

  • Remote Address: XXX.XXX.XXX.XXX
  • Request ID: z3U0wAmM7YpiuoqmUw5V"

(we can’t select any option under account but we were able to disable it using app:disable)
In Logging we see
Warning user_ldap Bind failed: 49: Invalid credentials
Error PHP Error: ldap_search(): Search: Operations error at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#341
Error index Exception: LDAP Operations error

If we disable LDAP application, we can access setting but of course users can’t login because LDAP is not working.
I am sure we just need to update password for this to be fixed, please let me know how can I update it without getting into settings through web?

We use NC: 20.0.13
LDAP user and Group backend: 1.10.2
Ubuntu Linux.

Hope to hear for someone soon :slight_smile: !! Thanks!



I think you might find the answer in the following thread Nextcloud no access to occ - #8 by JanarNext