Skip to content

Issues with LDAP authentication? #1339

Answered by hagaram
hagaram asked this question in Q&A
Discussion options

You must be logged in to vote

After hours of debugging with ldapsearch, strace etc. I found out that tis is a TLS issue. The workaround is quite simple, even tough I don't understand why this is necessary, as I've never had this issue before.

export LDAPTLS_CACERT=/etc/ssl/certs/ca-certificates.crt

and voala, problem solved.

It seems that ldap libs don't use openssl and use nss, which has some kind of underlying issue in my opinion.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hagaram
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hagaram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants