Revision: 1985
Author: olavmrk
Date: Fri Nov 13 00:26:52 2009
Log: LDAP: Assume that LDAP_NO_SUCH_OBJECT is an error due to invalid  
username/password.
http://code.google.com/p/simplesamlphp/source/detail?r=1985

Modified:
  /trunk/lib/SimpleSAML/Auth/LDAP.php

=======================================
--- /trunk/lib/SimpleSAML/Auth/LDAP.php Mon Oct 19 04:13:01 2009
+++ /trunk/lib/SimpleSAML/Auth/LDAP.php Fri Nov 13 00:26:52 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to