LDAP Error - "Can't contact LDAP server" Setup with Community Version. #12016
-
I have defect dojo running in another environment and its working fine and I can login via LDAP with no issue. I updated to a newer version that was 2 months older and now I unable to login via LDAP. In the console I get this errror: uwsgi-1 | ldap_create When I connect to the uwsgi container and run ldapsearch I get that same error "Can't contact LDAP server" I update the LDAP certs in /usr/local/share/ca-certificates/ and run "update-ca-certificates" it updates the 5 certs and I can run ldapsearch from the container and responds with the correct user lookup and groups, I can restart the uwsgi container using docker compose and I can run the ldapsearch command and get results. The UI is still failing with LDAP login. Anyone have ideas on what could be the issue? or what I should check? My local_settings.py has this as part of the LDAP setup: Thanks!!!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found out it was user error! In my docker-compose.yml I had DD_LDAP_SERVER_URI and in local-settings.py I had it as DD_AUTH_LDAP_SERVER_URI. I had the mismatch of the "auth" in all my variables! |
Beta Was this translation helpful? Give feedback.
Found out it was user error! In my docker-compose.yml I had DD_LDAP_SERVER_URI and in local-settings.py I had it as DD_AUTH_LDAP_SERVER_URI. I had the mismatch of the "auth" in all my variables!