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")},