-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: Linux
Currently Hudson only checks for attribute member in LDAP groups. However, it is
also quite common to use attribtute uniqueMember to store member list.
In WEB-INF/security/LDAPBindSecurityRealm.groovy, an one-line change that makes
Hudson search for both member=
can be done as follows:
authoritiesPopulator(DeferredCreationLdapAuthoritiesPopulator,initialDirContextFactory,"ou=groups")
{
// groupRoleAttribute = "ou";
groupSearchFilter = "(|(member=
))"
}
Thanks to Kohsuke.Kawaguchi@sun.com for the above code.
- is duplicated by
-
JENKINS-2314 Supporting uniqueMember in LDAP
- Closed