瀏覽代碼

Fix broken LDAP bind; thanks to Marcel Schleusner

pdontthink 16 年之前
父節點
當前提交
145541fb36
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/configtest.php

+ 1 - 1
src/configtest.php

@@ -966,7 +966,7 @@ if( empty($ldap_server) ) {
                 if ( empty($param['binddn']) ) {
                     $bind = @ldap_bind($linkid);
                 } else {
-                    $bind = @ldap_bind($param['binddn'], $param['bindpw']);
+                    $bind = @ldap_bind($linkid, $param['binddn'], $param['bindpw']);
                 }
 
                 if ( $bind ) {