Lost connection to LDAP server - no users can login

No it’s not because your user backend is the ldap server and not the local database. It would have been much easier to just disable the ldap configuration using occ and than fix your ldap server/certificate/whatever and then activate the ldap config again.

sudo -u www-data php occ ldap:show-config (get the the ID of configuration for example s01)
sudo -u www-data php occ ldap:set-config s01 ldapConfigurationActive 0

Fix LDAP/cert/whatever…

sudo -u www-data php occ ldap:set-config s01 ldapConfigurationActive 1

1 Like