-
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
-
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/security/DeferredCreationLdapAuthoritiesPopulator.java
trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=13087
Log:
[FIXED JENKINS-2256] Added two more lookups as reported in this issue.
In 1.261.