From 4598d3ae39f45752594ef6f60fc76c2daee11dd6 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 30 Jan 2010 14:57:10 +1100 Subject: [PATCH] SF Patch #2919169 - SASL bind --- lib/ds_ldap.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ds_ldap.php b/lib/ds_ldap.php index dd161f2..c0aebbb 100644 --- a/lib/ds_ldap.php +++ b/lib/ds_ldap.php @@ -611,9 +611,6 @@ class ldap extends DS { putenv(sprintf('KRB5CCNAME={%s}',$_ENV['REDIRECT_KRB5CCNAME'])); break; - - default: - error(sprintf('%s (%s) has NOT been tested, please let us know if it works and which version of PHP you are using.',__METHOD__,$this->getValue('sasl','mech')),'info'); } if (! $this->getValue('server','sasl') || ! function_exists('ldap_start_tls')) @@ -658,7 +655,7 @@ class ldap extends DS { return @ldap_sasl_bind($resource,$CACHE['login_dn'],$CACHE['login_pass'], $this->getValue('sasl','mech'), $this->getValue('sasl','realm'), - $CACH['authz_id'], + $CACHE['authz_id'], $this->getValue('sasl','props')); }