From 4bf037cfaa300fd0ff131a763a101cce6ad7e1b9 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 10 Jun 2003 02:24:26 +0000 Subject: [PATCH] Add ldapAssertionFailed result code --- include/ldap.h | 2 ++ libraries/libldap/error.c | 2 ++ 2 files changed, 4 insertions(+) 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")}, -- 2.39.5