From cbfc0eaf0a01a494ba1372fbc5cf4cfdada184b7 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 17 Sep 2008 20:01:51 +0000 Subject: [PATCH] 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 --- core/src/main/java/hudson/security/LDAPSecurityRealm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/security/LDAPSecurityRealm.java b/core/src/main/java/hudson/security/LDAPSecurityRealm.java index d9a4245..82c1fb1 100644 --- a/core/src/main/java/hudson/security/LDAPSecurityRealm.java +++ b/core/src/main/java/hudson/security/LDAPSecurityRealm.java @@ -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); } /**