steelwall Posted August 22, 2012 Share Posted August 22, 2012 I am trying to connect Jasperreports Server 4.7 to my Active Directory server. The applicationContext-security.xml is setup with the correct ldap info. I have turned on all debug logging I couldt think of in log4j, but now I am stuck. The log says:Searching for user '<username>', with user search [ searchFilter: '(sAMAccountName={0})', searchBase: 'OU=Users,OU=SubDepartment,OU=Department', scope: subtree, searchTimeLimit: 0, derefLinkFlag: false ]I can see that the username and OU path is correct, and I know that this is the correct sAMAccountName. But then comes:Authentication event AuthenticationFailureBadCredentialsEvent: <username>; details: com.jaspersoft.jasperserver.multipleTenancy.MTWebAuthenticationDetails@fffdaa08: RemoteIpAddress: 127.0.0.1; SessionId: 9F11A64B09615FF45E892979C193D846; exception: Bad credentials.I have followed the Authenticatio Cookbook 4.0, and I know that the credentials are correct, so the error can not be bad credentials. It is something else. THe question is, how do I debug this? Link to comment Share on other sites More sharing options...
czupet Posted April 30, 2013 Share Posted April 30, 2013 I am getting the same error message.Have you found an answer to this problem? Does anybody else have a solution to this problem?Thank You Link to comment Share on other sites More sharing options...
czupet Posted May 6, 2013 Share Posted May 6, 2013 Here's what fixed my problem: property name="userDn" value="ldapuser@ldapserver.com"see the attached file and search for ldapuser Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now