From: pdontthink Date: Tue, 28 Oct 2008 02:03:41 +0000 (+0000) Subject: Fix broken LDAP bind; thanks to Marcel Schleusner X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=eb2ae346b59dfcb085536bd4a27e554f414044d6 Fix broken LDAP bind; thanks to Marcel Schleusner git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13310 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/configtest.php b/src/configtest.php index 3400c8c8..d86f0643 100644 --- a/src/configtest.php +++ b/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 ) {