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

LDAP Problem after upgrade 5.0 to 5.1


bgroffen

Recommended Posts

Hello,

I've upgraded my jasperserver from V5 to V5.1 and ive encouterd some problems with the LDAP. I noticed that there have been a new file for this applicationcontext-externalAuth-LDAP-mt.xml. I have used and configured this file according to my older applicationcontext-security. (That worked fine)

However now that i am using this new LDAP file. it wont grand me access to the jasperserver using an Ldap account. it gives me the Invalid credentials supplied, cannot log you in to jasperserver.

Next i have enabled the Loggings, looking he can find the DN and everything according to roles of the ldap user i am using to log in, it just wont grand me acces?

logging:

2013-05-23 10:37:57,687 DEBUG FilterBasedLdapUserSearch,http-apr-8080-exec-5:109 - Searching for user 'stageict', with user search [ searchFilter: '(sAMAccountName={0})', searchBase: '', scope: subtree, searchTimeLimit: 0, derefLinkFlag: false ]
2013-05-23 10:37:57,687 DEBUG FilterBasedLdapUserSearch,http-apr-8080-exec-5:109 - Searching for user 'stageict', with user search [ searchFilter: '(sAMAccountName={0})', searchBase: '', scope: subtree, searchTimeLimit: 0, derefLinkFlag: false ]
2013-05-23 10:37:57,715 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-5:197 - Searching for entry in under DN 'ou=chasse,dc=chasse,dc=local', base = '', filter = '(sAMAccountName={0})'
2013-05-23 10:37:57,715 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-5:197 - Searching for entry in under DN 'ou=chasse,dc=chasse,dc=local', base = '', filter = '(sAMAccountName={0})'
2013-05-23 10:37:57,730 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-5:214 - Found DN: cn=StageICT,ou=Stagiair,ou=ICT,ou=Users
2013-05-23 10:37:57,730 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-5:214 - Found DN: cn=StageICT,ou=Stagiair,ou=ICT,ou=Users
2013-05-23 10:37:57,762 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-5:176 - Getting authorities for user cn=StageICT,ou=Stagiair,ou=ICT,ou=Users,ou=chasse,dc=chasse,dc=local
2013-05-23 10:37:57,762 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-5:176 - Getting authorities for user cn=StageICT,ou=Stagiair,ou=ICT,ou=Users,ou=chasse,dc=chasse,dc=local
2013-05-23 10:37:57,766 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-5:202 - Searching for roles for user 'stageict', DN = 'cn=StageICT,ou=Stagiair,ou=ICT,ou=Users,ou=chasse,dc=chasse,dc=local', with filter (&(Member={0})(objectclass=group)(cn=grp-CT-JS-*)) in search base ''
2013-05-23 10:37:57,766 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-5:202 - Searching for roles for user 'stageict', DN = 'cn=StageICT,ou=Stagiair,ou=ICT,ou=Users,ou=chasse,dc=chasse,dc=local', with filter (&(Member={0})(objectclass=group)(cn=grp-CT-JS-*)) in search base ''
2013-05-23 10:37:57,769 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-5:148 - Using filter: (&(Member=cn=StageICT,ou=Stagiair,ou=ICT,ou=Users,ou=chasse,dc=chasse,dc=local)(objectclass=group)(cn=grp-CT-JS-*))
2013-05-23 10:37:57,769 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-5:148 - Using filter: (&(Member=cn=StageICT,ou=Stagiair,ou=ICT,ou=Users,ou=chasse,dc=chasse,dc=local)(objectclass=group)(cn=grp-CT-JS-*))
2013-05-23 10:37:57,798 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-5:210 - Roles from search: [grp-CT-JS-Bespreekbureau, grp-CT-JS-Alles_lezen, grp-CT-JS-Algemeen, grp-CT-JS-Iedereen]
2013-05-23 10:37:57,798 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-5:210 - Roles from search: [grp-CT-JS-Bespreekbureau, grp-CT-JS-Alles_lezen, grp-CT-JS-Algemeen, grp-CT-JS-Iedereen]
 

Any idea's where this problem might be or what i need to change.

 

Thanks,
Bart

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
  • 3 weeks later...

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...