-
Originally I wanted to create a new bug, but this is probably some kind of misconfiguration issue on my end. I would like to ask you for assistance. Didn't any of you encounter this kind of issue? Environment
Steps to Reproduce
Expected BehaviorI expected my user to login to nautobot and authenticate against my LDAP server. Or at least send somewhat valid query to LDAP server. Observed Behavior
Do I need to use some kind of custom form/template ? Do you think there is an issue on my end ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thanks for starting a discussion! I know that if you turn on DEBUG level logging of Django itself, you can see errors similar to the above on the console, but those are cosmetic only (see #802) and do not impact normal operation. If that's how you gathered these logs, I think those can be ignored. More than likely there's an error in your LDAP config causing the authentication failures. Can you potentially share a sanitized copy of your config? |
Beta Was this translation helpful? Give feedback.
-
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.
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. |
Beta Was this translation helpful? Give feedback.
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.
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.