From eb2ae346b59dfcb085536bd4a27e554f414044d6 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 28 Oct 2008 02:03:41 +0000 Subject: [PATCH] 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 --- src/configtest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.25.1