Przeglądaj źródła

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 lat temu
rodzic
commit
13515c1f1c
1 zmienionych plików z 0 dodań i 3 usunięć
  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);