-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection to ActiveDirectory dont work #14
Comments
Hello @Zaenker! Could you provide the Active Directory version and some logs to help us investigating the issue you encounter? |
Hi @acotiuga Where i can find useful logs? |
Maybe something like this? This is out of localhost_access |
I was referring to the version of Active Directory extension from XWiki. It the latest versions, more info is displayed in the logs. However, if you saved the configuration, you can click again on Check connection and if it fails, you can click on the message and get from there the full stacktrace of the error. |
Its 1.6.2 Here it is: org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind failed with LDAPException. |
So, it looks like your facing the https://jira.xwiki.org/browse/LDAP-5 issue, which is about special chars used in password. We have in plan to fix it in our current roadmap. As a workaround, you can update your password. Let me know if it works for you like that. |
Hi, i changed the password and i now got only small letters in it but it dont work as well. org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind failed with LDAPException. |
This is the part with the important information and as you can see, there is a credentials issue:
INVALID_CREDENTIALS = 49
Please make sure that you properly set the UID attribute name and that you are using the right value for it. You can also take a look at the example from the documentation: https://store.xwiki.com/xwiki/bin/view/Extension/ActiveDirectoryApplication#documentation. |
Hi, yes i think this is a problem with the password. After i type it in and click safe it looses 2 oder 3 letters. I try it now with an empty Password and after i save the configuration and click check connection it say that everything is okay but if i try to log in with my ad account he said the the credentials are invalid. I also checked the UID attribute name and it is correct |
Hi, with an empty Password it works but i still get this error after i try to log in with an AD-User: 2019-08-13 15:28:31,989 [http://xwiki.treifnet.com:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. |
Hey all:)
After i install this addon an click the button Check Connection is say to me that the connection is successfull. But after i safe and click on check connection again it failed.
Did you guys got an ideo what i can do?
I think he removes some letters from the password becaus after i click safe the dots are less then before.
Thank you all and have a nice day
The text was updated successfully, but these errors were encountered: