From: Kurt Zeilenga Date: Tue, 10 Jun 2003 02:24:26 +0000 (+0000) Subject: Add ldapAssertionFailed result code X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~913 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4bf037cfaa300fd0ff131a763a101cce6ad7e1b9;p=openldap Add ldapAssertionFailed result code --- diff --git a/include/ldap.h b/include/ldap.h index a6acd33c81..9ce21953c9 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -486,6 +486,8 @@ typedef struct ldapcontrol { #define LDAP_CUP_RELOAD_REQUIRED 0x105 #endif +#define LDAP_ASSERTION_FAILED 0x10f + #ifdef LDAP_EXOP_X_CANCEL /* resultCode for Cancel Response */ #define LDAP_CANCELLED 0x110 diff --git a/libraries/libldap/error.c b/libraries/libldap/error.c index 464b9e5172..079eca6e5c 100644 --- a/libraries/libldap/error.c +++ b/libraries/libldap/error.c @@ -93,6 +93,8 @@ static struct ldaperror ldap_builtin_errlist[] = { {LDAP_CLIENT_LOOP, N_("Client Loop")}, {LDAP_REFERRAL_LIMIT_EXCEEDED, N_("Referral Limit Exceeded")}, + {LDAP_ASSERTION_FAILED, N_("Assertion Failed")}, + #ifdef LDAP_CLIENT_UPDATE {LDAP_CUP_RESOURCES_EXHAUSTED, N_("Client Update Resource Exhausted")}, {LDAP_CUP_SECURITY_VIOLATION, N_("Client Update Security Violation")},