Can't find LDAP Authnetication logs OKD4.14 #1858
-
Hi, I've installed 3-master user-provisioned OKD on VMs and it's working great. I'm trying to configure LDAP authentication on it and failing to make it work. I'm following the steps defined in https://docs.okd.io/4.14/authentication/identity_providers/configuring-ldap-identity-provider.html and https://access.redhat.com/documentation/en-us/openshift_container_platform/4.14/html/authentication_and_authorization/configuring-identity-providers#configuring-ldap-identity-provider. The actual problem is that I can't find any logs for LDAP authentication attempts. I've tried to enable log level debug to look at logs using the steps here https://access.redhat.com/articles/6990472 but I don't see any logs. I've also tried finding LDAP logs in pods of 'openshift-oauth-apiserver' and 'openshift-authentication-operator' but no luck. (probably I'm not the only one with the issue https://www.reddit.com/r/openshift/comments/txh1y4/how_to_debug_ldap_auth_in_okd_4/) At the OKD login webpage, I see the option for LDAP auth so OKD must be recognizing LDAP configuration that I've added. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, |
Beta Was this translation helpful? Give feedback.
Hello,
This article may help: User login attempts not found in the OpenShift audit log files.
The version is 4.6 and 4.7, but worth a try if you have a test cluster to play with.