mirror of
https://github.com/nicolabs/ldap-plugin.git
synced 2025-09-07 05:14:24 +02:00
ou=groups is not a mandatory convention, and indeed at Zilics Information Systems that I went for a trouble-shooting, it was using another name.
So just search from a broader base by default. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12183 71c3de6d-444a-0410-be80-ed276b4c234a Originally-Committed-As: 69b4520593def90d8851c0ba5b8c94a01d69ae30
This commit is contained in:
parent
4518fdf464
commit
cbfc0eaf0a
|
@ -199,7 +199,7 @@ public class LDAPSecurityRealm extends SecurityRealm {
|
|||
*/
|
||||
private void correctAuthoritiesPopulator(WebApplicationContext appContext) {
|
||||
DeferredCreationLdapAuthoritiesPopulator factory = (DeferredCreationLdapAuthoritiesPopulator) appContext.getBean("authoritiesPopulator");
|
||||
factory.setGroupSearchBase(groupSearchBase==null ? "ou=groups" : groupSearchBase);
|
||||
factory.setGroupSearchBase(groupSearchBase==null ? "" : groupSearchBase);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue