Bug 953513
Summary: | spnego AdvancedLdapLoginModule cannot cope with roles contains a slash | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Tom Fonteyne <tfonteyn> |
Component: | Security | Assignee: | Darran Lofthouse <darran.lofthouse> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | brian.stansberry, jcacek, tfonteyn |
Target Milestone: | ER6 | ||
Target Release: | EAP 6.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-23 18:38:00 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: |
Description
Tom Fonteyne
2013-04-18 10:55:47 UTC
From what I can see this was an oversight, assigning the quoted value to a variable would imply I did intend for it to be re-used. Darran Lofthouse <darran.lofthouse> updated the status of jira SECURITY-735 to Coding In Progress Darran Lofthouse <darran.lofthouse> updated the status of jira SECURITY-735 to Resolved Verified in EAP 6.1.0.ER6. PRs with regression tests: https://github.com/wildfly/wildfly/pull/4456 https://github.com/jbossas/jboss-eap/pull/130 Darran Lofthouse <darran.lofthouse> made a comment on jira SECURITY-735 This issue is reproducible with configuration similar to the following: - {code} <login-module code="AdvancedLdap" module="org.jboss.security.negotiation" flag="required"> <module-option name="bindDN" value="CN=as7" /> <module-option name="bindCredential" value="xxx" /> <module-option name="java.naming.provider.url" value="ldap://ec2-xx-xx-xx-xx.compute-1.amazonaws.com"/> <module-option name="baseCtxDN" value="CN=Users,DC=darranl,DC=jboss,DC=org"/> <module-option name="baseFilter" value="(sAMAccountName={0})"/> <module-option name="rolesCtxDN" value="CN=Users,DC=darranl,DC=jboss,DC=org"/> <module-option name="roleAttributeID" value="memberOf"/> <module-option name="roleAttributeIsDN" value="true"/> <module-option name="roleNameAttributeID" value="name"/> <module-option name="recurseRoles" value="true"/> </login-module> {code} The absence of a roleFilter is why the distinguished name is not being correctly quoted, adding the roleFilter would not be normally required as it does result in additional searches being performed by the LDAP server but in this case it is a possible workaround for the distinguished name to be quoted where required. Ivo Studensky <istudens> updated the status of jira JBPAPP-10719 to Coding In Progress Hui Wang <huwang> updated the status of jira JBPAPP-10719 to Resolved |