Wiki.js appears to connect to directory but won't login #3692
Unanswered
vitaprimo
asked this question in
Error / Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Actual behavior
LDAP/AD authentication losses connection or "fails to fetch".
Expected behavior
Successful authentication.
Steps to reproduce the behavior
I set up several times, using TLS auth (ldap://dc:389), SSL auth (ldaps://dc:636) and no security. Turning on and off the TLS switch, moving the root certificate in and out of the installation directory, changing the base DN, using a UPN instead of the DN to authenticate and by observation and intentionally inputting wrong values I realized that it does communicate with the directory but it won't login anyway.
When values are wrong I get an invalid credentials prompt immediately, when everything is OK I get the signing in animation until it seemingly times out and I get a connection loss error or "failed to fetch".
Just before setting up Wiki.js v2, I set up v1 on another server and that one connected successfully, it also helped me familiarize myself with the config.
–––
It would be super helpful if the "Use TLS" switch was renamed to something like "Use secure connection" or something because it's unclear if it means to use an encrypted connection or use opportunistic TLS/STARTTLS.
I observed the same thing on the mailer config but, there, it's explained in parenthesis what the expected behavior is.
Beta Was this translation helpful? Give feedback.
All reactions