Jump to content
We've recently updated our Privacy Statement, available here ×
  • Unable to login to JasperServer with Active Directory


    dszeto
    • Version: v6.4 Product: Jasper Deployment

    Issue Description:

    When attempting to login to JasperReportsServer that has external authentication setup (Active Directory), the login attempt via the JasperReportsServer web application fails with 'username/password is invalid'.


    Resolution:

    Looking at the jasperserver.log showed an invalid credentials error:

    BindAuthenticator,http-nio-8080-exec-1:152 - Failed to bind as uid=aaaaaa,OU=xxxx,OU=yyyyyy: 
    org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042A, comment: AcceptSecurityContext error, data 52e, v3839 ]; 
    nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042A, comment: AcceptSecurityContext error, data 52e, v3839 ]

    After verifying the username and password are correct, as well as the fact that the user is found under the right branch, we had to verify which version of Active Directory being used. Different versions of Active Directory specify the DN differently. In this case, they were using the most recent version and so to specify the userDN in the ldapContextSource bean of the applicationContext-externalAuthentication-LDAP-mt.xml, use the following format: username@domain


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...