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

How can I log into a cluster using an LDAP account? #3871

Open
savissimo opened this issue Feb 2, 2024 · 1 comment
Open

How can I log into a cluster using an LDAP account? #3871

savissimo opened this issue Feb 2, 2024 · 1 comment
Labels

Comments

@savissimo
Copy link

We have an OpenShift cluster that we access using domain accounts via LDAP. If I just enter my credentials when logging in I can't authenticate. What do I need to do to use LDAP authentication (not "basic" one)?

@datho7561
Copy link
Collaborator

It seems from the documentation that calling oc login then providing the username and password should work. https://docs.openshift.com/container-platform/4.14/authentication/identity_providers/configuring-ldap-identity-provider.html This is what we do under the hood. However, we provide both the username and password as command line arguments. Maybe specifying the password interactively gets oc to do something different, we will need to investigate further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants