From 30f13cf34c6884f60b89e43294aee3ff85a6dd05 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Thu, 27 Mar 2008 23:31:01 +0000 Subject: [PATCH] perhaps this would help the problem Fabiane is facing? git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8047 71c3de6d-444a-0410-be80-ed276b4c234a Originally-Committed-As: 353df8bf6ac21f21dac4945a126e8130f8bb124b --- 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 c3aeba0..0ca0bba 100644 --- a/core/src/main/java/hudson/security/LDAPSecurityRealm.java +++ b/core/src/main/java/hudson/security/LDAPSecurityRealm.java @@ -122,7 +122,7 @@ public class LDAPSecurityRealm extends SecurityRealm { } public String getLDAPURL() { - return "ldap://"+server+'/'+rootDN; + return "ldap://"+server+'/'+Util.fixNull(rootDN); } public SecurityComponents createSecurityComponents() {