瀏覽代碼

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);