Replies: 1 comment
-
Hi @HamzaZo, When an end-user tries to authenticate via LDAP by typing their username and password into the Pinniped-generated CLI prompt (or Pinniped Supervisor login web UI prompt), then Pinniped performs several LDAP queries to check if that user has authenticated successfully and then to discover their group memberships. The first query is to find the user record in LDAP based on the username that the end-user typed. The settings that control this "user search" query are in the I can see that this user search is the query that is failing for you, because your error message starts with "error searching for user". Therefore, your group search settings are not yet involved, because group search happens only after user search has successfully found the user record. Pinniped expects that user search query to return exactly one user record for any valid username. If the search returned zero user records, then perhaps the user mistyped their username, or perhaps there is no account for that username, so that will naturally result in an error. However, if the search returns more than one user record, then it is almost certain that you have made a mistake in your Just as an example, your user search approach cannot be "search for any user record which has a Please let me know if that helps. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to configure our LDAP with Pinniped and when I try to authenticate, I'm getting
error searching for user: LDAP Result Code 4 \"Size Limit Exceeded\": This search operation has sent the maximum of 2 entries to the client
Any idea why I'm getting this error? even though in
groupSearch
I filter by groupBeta Was this translation helpful? Give feedback.
All reactions