Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to debug LDAPIdentity provider spec using ldapsearch CLI and pod logs #1581

Closed
cfryanr opened this issue Jul 20, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request estimate/M Estimated effort/complexity/risk is medium priority/backlog Prioritized for an upcoming iteration state/started Someone is working on it currently

Comments

@cfryanr
Copy link
Member

cfryanr commented Jul 20, 2023

Is your feature request related to a problem? Please describe.

Often the best way to debug the spec of an LDAPIdentityProvider that's not working is to manually transcribe the settings into arguments of the ldapsearch CLI and try running some searches. This requires good knowledge of both how Pinniped forms user search and group search queries, and how the ldapsearch CLI works.

Describe the solution you'd like

A doc could describe how to perform this type of debugging.

  • How to find relevant log messages in the Supervisor pod logs after a failed login attempt.
  • How to translate your settings to ldapsearch commands to try the similar user search and group search yourself.

Describe alternatives you've considered

Maybe there could even be a shell script in the hack directory to perform the translation from LDAPIdentityProvider into the ldapsearch commands.

@pinniped-ci-bot pinniped-ci-bot added enhancement New feature or request priority/backlog Prioritized for an upcoming iteration estimate/M Estimated effort/complexity/risk is medium labels Jul 20, 2023
@pinniped-ci-bot pinniped-ci-bot added the state/started Someone is working on it currently label Jul 26, 2023
@joshuatcasey
Copy link
Member

This seems resolved in #1594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request estimate/M Estimated effort/complexity/risk is medium priority/backlog Prioritized for an upcoming iteration state/started Someone is working on it currently
Projects
None yet
Development

No branches or pull requests

3 participants