Переглянути джерело

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 роки тому
батько
коміт
13515c1f1c
1 змінених файлів з 0 додано та 3 видалено
  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);