L
LLDAP2mo ago
Akshay

LLDAP & Nextcloud

I'm having trouble getting Nextcloud to fetch users from LLDAP. I'm not sure where exactly the issue lies. Nextcloud sees the groups, it validates users, says there are 47 entries, but when I ask it to validate settings and count users, it keeps saying 0 users found.

The Nextcloud Log repeatedly says:
{"reqId":"qcZvHNxnOSoRPZ4HZ9t4","level":2,"time":"2025-10-21T15:37:47+02:00","remoteAddr":"192.168.2.3","user":"admin","app":"PHP","method":"POST","url":"/apps/user_ldap/ajax/wizard.php","message":"ldap_search(): Search: Bad search filter at /var/www/html/apps/user_ldap/lib/LDAP.php#285","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0","version":"31.0.10.0","data":{"app":"PHP"},"id":"68f78d057edc3"}

and
{"reqId":"qcZvHNxnOSoRPZ4HZ9t4","level":3,"time":"2025-10-21T15:37:47+02:00","remoteAddr":"192.168.2.3","user":"admin","app":"user_ldap","method":"POST","url":"/apps/user_ldap/ajax/wizard.php","message":"Attempt for Paging?  1","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0","version":"31.0.10.0","data":{"app":"user_ldap"},"id":"68f78d057edb9"}
image.png
image.png
image.png
image.png
image.png
Solution
For anyone having a similar issue - I Fixed it by changing
display_name
to
displayname
Was this page helpful?