Revision: 1991 Author: olavmrk Date: Fri Nov 13 01:17:26 2009 Log: LDAP: Assume that LDAP_NO_SUCH_OBJECT is an error due to invalid username/password.
Merged into 1.5 branch from r1985. http://code.google.com/p/simplesamlphp/source/detail?r=1991 Modified: /branches/simplesamlphp-1.5/lib/SimpleSAML/Auth/LDAP.php ======================================= --- /branches/simplesamlphp-1.5/lib/SimpleSAML/Auth/LDAP.php Mon Oct 19 04:13:01 2009 +++ /branches/simplesamlphp-1.5/lib/SimpleSAML/Auth/LDAP.php Fri Nov 13 01:17:26 2009 @@ -342,6 +342,7 @@ * LDAP_INVALID_CREDENTIALS * LDAP_INSUFFICIENT_ACCESS */ switch(ldap_errno($this->ldap)) { + case 32: /* LDAP_NO_SUCH_OBJECT */ case 47: /* LDAP_X_PROXY_AUTHZ_FAILURE */ case 48: /* LDAP_INAPPROPRIATE_AUTH */ case 49: /* LDAP_INVALID_CREDENTIALS */ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "simpleSAMLphp commits" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simplesamlphp-commits?hl=en -~----------~----~----~----~------~----~------~--~---
