You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use kubernetes-ldap for one of our project, when I bring up the server and try to call ldapAuth end point on it, i get following in logs of server:
I am trying to use kubernetes-ldap for one of our project, when I bring up the server and try to call ldapAuth end point on it, i get following in logs of server:
ERROR: logging before flag.Parse: E0929 05:19:13.882856 20 token_issuer.go:31] Error authenticating user: Error opening LDAP connection: LDAP Result Code 200 "Network Error": EOF
Curl command that I am running:
curl -kvXGET 'https://localhost:4000/ldapAuth' --user 'user:password'
Command used to run the server:
./bin/kubernetes-ldap --ldap-host ldaphost.example.com
--ldap-base-dn "DC=lab,DC=example,DC=com"
--tls-cert-file tld.cert
--tls-private-key-file tls.cert.private.key
--ldap-search-user-dn "cn=admin,dc=lab,dc=example,dc=com"
--ldap-search-user-password 'password'
--ldap-skip-tls-verification true
--ldap-insecure true
By any chance do you guys have detailed instructions to setup and test this working using docker images.
P.S. I tried connecting to the my ldap using ldapsearch, and it works just fine. (I do need to add '-x' option when running ldapsearch though)
Thanks
Rajat Jindal
The text was updated successfully, but these errors were encountered: