Refuse authentication if 2 entries match the authentication filter
{quote} I am facing an issue with LDAP authentication.
On the portal page, a user types for log-in the value of an LDAP attribute named "logonId" which is stored in its LDAP entry.
To achieve that, I have defined AuthLDAPFilter like this : (&(logonid=$user)(objectClass=inetOrgPerson)))
This works perfectly, except in the following case.
If two or more users have the same value in the "logonId" attribute (of course this is not normal case) the authentication still successes. For testing, I have set the same password in some user's LDAP entries.
It seams that LNG authenticate with the first LDAP entry matched by the search filter. {quote}