Bug 981015
| Summary: | LDAP auth fails if user's DN contains a backslash | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | ||||
| Component: | Security | Assignee: | Larry O'Leary <loleary> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | JON 3.1.2 | CC: | hrupp, skondkar | ||||
| Target Milestone: | ER01 | ||||||
| Target Release: | JON 3.2.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 985098 (view as bug list) | Environment: | |||||
| Last Closed: | 2014-01-02 20:37:26 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: | |||||||
| Bug Blocks: | 985098 | ||||||
| Attachments: |
|
||||||
|
Description
Larry O'Leary
2013-07-03 19:22:16 UTC
master 01cd91b130f5 Looking into LdapGroupManagerBeanTest failures. Most likely a result of my change set removing the handling on JNDI quoting from the mock LDAP context. Fixed test failures with https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=567aee7f81c6aa0f7680d4f394cccb1974705320 commit 567aee7f81c6aa0f7680d4f394cccb1974705320 Author: Larry O'Leary <loleary> Date: Mon Jul 22 16:10:09 2013 -0500 BZ 981015: Fix test failures introduced by commit 01cd91b - findLdapUserDetails was appending baseDN twice during fallback code - FakeLdapContext contained some lazy escaping on the mock group entries As this is MODIFIED or ON_QA, setting milestone to ER1. Verified on Version: 3.2.0.ER2 Build Number: 9bf6f76:371eac0
Created below user on Redhat Directory Server 8.2.0
dn: cn=Charles H\\Samlin,dc=usersys,dc=redhat,dc=com
telephoneNumber: 555-555-1213
mail: csamlin.com
uid: csamlin
givenName: csamlin
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
sn: H\Samlin
cn: Charles H\Samlin
description: User with backslash (\) in cn
userPassword: {SSHA}ARklgcvmHqmjlUjETy1GP6r9+ocwqP0YeMYQNw==
Provided the LDAP details in Jboss ON Administration->System Settings'.
Logged in as the user having backslash in the CN (csamlin/redhat)
User is navigated successfully to registration screen and login is successful without error.
|