LDAP integration config seems broken


I’m trying to setup ldap integration.

On the config page, I complete the first step ‘Server’ correctly, but the following steps are not working for me.

The second step. Users. I select inetOrgPerson (my users are of that class) from the drop down menu and the search filter created is ‘(|(objectclass=inetOrgPerson))’. But when I click on the button ‘Verify setttings and count users’, the result is ‘0 users found’.

The logs say

ldap_control_paged_result_response(): Result is: Invalid DN syntax (34) at /var/www/nextcloud/web/apps/user_ldap/lib/LDAP.php#74

However, if I try an ldapsearch (with the same user and password)

ldapsearch -D cn=nobody,ou=***,dc=***,dc=***  -b 'dc=***,dc=***' -W '(objectClass=*)'

The results are correct. Users are found!

What could possibly be going wrong? Is something broken?


Solved. I delete the config (trash icon) and started again.