Ver código fonte

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 anos atrás
pai
commit
13515c1f1c
1 arquivos alterados com 0 adições e 3 exclusões
  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);