Browse Source

HPCC-22204 ERROR: Unable to create security manager

The initldap tool is incorrectly clearing the system base DN if not Microsoft
Active Directory. This PR leaves it as is, to be reference by the LDAP
connection manager on instanciation

Signed-off-by: Russ Whitehead <william.whitehead@lexisnexisrisk.com>
Russ Whitehead 6 years ago
parent
commit
13515c1f1c
1 changed files with 0 additions and 3 deletions
  1. 0 3
      tools/initldap/initldap.cpp

+ 0 - 3
tools/initldap/initldap.cpp

@@ -101,9 +101,6 @@ bool initLDAP(IPropertyTree * ldapProps)
             return true;
     }
 
-    if (stricmp(serverType.get(),"ActiveDirectory"))
-        ldapProps->setProp("@systemBasedn", "");
-
     //Replace system user with LDAP Admin credentials
     ldapProps->setProp("@systemUser", ldapUser);
     ldapProps->setProp("@systemCommonName", ldapUser);