-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Symfony version(s) affected: 4.1, 3.4
Description
When query fails due to LDAP misconfiguration, i.e invalid query filter, we ran into Could not complete search with dn
exception statement, which gives us no clue, how to resolve this problem.
In order to resolve it you should manually dig with debugging what happens there and manually use ldap_error
and ldap_errno
to discover the actual problem.
How to reproduce
Configure improper filter string for LDAP (i.e wrap it with double quotes, in my case)
Possible Solution
Enrich exception with ldap_error
and ldap_errno
output if present