https://github.com/lldap/lldap logo
LLDAP & Nextcloud
# troubleshooting
a
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:
Copy code
{
  "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
Copy code
{
  "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"
}
https://cdn.discordapp.com/attachments/1430187786337648651/1430187786748821608/image.png?ex=68f8ddab&is=68f78c2b&hm=e7922a1f8638c02e53523c192542b61790459b9aeaf8a659bea0c22d1c67d47c& https://cdn.discordapp.com/attachments/1430187786337648651/1430187787226845244/image.png?ex=68f8ddac&is=68f78c2c&hm=1faa2477f34aeead6e08ed6a4542c3190ff54cc78657f7c9809465bb35ac89a9& https://cdn.discordapp.com/attachments/1430187786337648651/1430187787667374151/image.png?ex=68f8ddac&is=68f78c2c&hm=ff0172b69de70ce996849f0293d1a8b8738b866f5f623de47ceb515e15600d70& https://cdn.discordapp.com/attachments/1430187786337648651/1430187788082348112/image.png?ex=68f8ddac&is=68f78c2c&hm=6c9e34b202c5b6fcc100ee44fa79e672609f14e8d15c12636e24d5a6d8ccadb2& https://cdn.discordapp.com/attachments/1430187786337648651/1430187788489326722/image.png?ex=68f8ddac&is=68f78c2c&hm=be99c285d838013703bf00552e67ade68a6636ee301e0904448c531a58208206&
For anyone having a similar issue - I Fixed it by changing
display_name
to
displayname