Jump to content
We've recently updated our Privacy Statement, available here ×

AuthenticationFailureBadCredentialsEvent when using LdapAuthenticationProvider


steelwall

Recommended Posts

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

  • 8 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...