]
Boleslaw Dawidowicz resolved JBPORTAL-1592.
-------------------------------------------
Resolution: Done
fixed. commited to JBoss_Portal_Branch_2_6.
Backslashes not escaped correctly with ldap modules
---------------------------------------------------
Key: JBPORTAL-1592
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1592
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Identity
Affects Versions: 2.6 Final
Environment: Windows XP Professional, Jboss 4.3.0, JBoss_Portal_2_6_0 from svn
Reporter: Tobias Roth
Assigned To: Boleslaw Dawidowicz
Fix For: 2.6.2 Final, 2.8 Final
Attachments: demo.ldif, ldap_identity-config.xml
LDAPRoleModule and LDAPExtRoleModule don't find roles associated with users, if the
users DN contains a backslash, as it is frequent with Microsoft Active Directory.
Example logfile excerpts and are given in the forum.
I added a simple filter = filter.replaceAll("\\\\", "\\\\\\\\"); in
one place in LDAPExtRoleModuleImpl.java which fixed the thing for me. However, not knowing
much of java, I don't know the correct place to add this, so that all cases are
fixed.
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: