Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1067599

Summary: [GSS] (6.2.x) LdapExtended login module does not handle a user that has a slash character in the uid
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Derek Horton <dehort>
Component: SecurityAssignee: Derek Horton <dehort>
Status: CLOSED CURRENTRELEASE QA Contact: Josef Cacek <jcacek>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.1.1CC: bmaxwell, dehort, olukas, smumford, vtunka
Target Milestone: CR2   
Target Release: EAP 6.2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In previous versions of JBoss EAP 6, the username string returned by the JVM's LDAP code was wrapped in double quotes if it contained a 'slash' (/) character. This broke any further LDAP lookups, including those for authentication and role lookup. This meant that users with a 'slash' character in their username were not able to successfully authenticate when using the LdapExtended login module. In this version of the product the double quotes are removed from the username returned from LDAP and users with slashes in the username are correctly authenticated.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-02 12:50:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1065486    
Bug Blocks: 1049365, 1067580    

Description Derek Horton 2014-02-20 17:04:42 UTC
Description of problem:
LdapExtended login module does not handle a user that has a slash character in the uid.

For example, JBoss will fail to authenticate the following user correctly:

dn: uid=weird/user,ou=Users,dc=my-domain,dc=com
uid: weird/user
cn: Weird User

Version-Release number of selected component (if applicable):

Steps to Reproduce:

1.  Configure an application to use a security-domain that is setup to use the LdapExtended login module.  
2.  Create a user that contains a slash char ('/') in the uid.  
3.  Attempt to authenticate the user.

Comment 2 Ondrej Lukas 2014-03-04 10:29:44 UTC
Verified on EAP 6.2.2.CR2.

Comment 3 Russell Dickenson 2014-03-06 13:39:55 UTC
Attention: Derek Horton

Please provide draft Release Notes text for this ticket.

Thank you