From: Kurt Zeilenga Date: Wed, 17 Dec 2003 21:42:48 +0000 (+0000) Subject: Make modify/increment conditional X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~158 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3eb53370201fd41923f82b18226d504aec376362;p=openldap Make modify/increment conditional --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index eed5c8bd79..97e66724ea 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -113,9 +113,11 @@ static struct slap_control control_defs[] = { { LDAP_CONTROL_SYNC, SLAP_CTRL_HIDE|SLAP_CTRL_SEARCH, NULL, parseLDAPsync, LDAP_SLIST_ENTRY_INITIALIZER(next) }, +#ifdef LDAP_CONTROL_MODIFY_INCREMENT { LDAP_CONTROL_MODIFY_INCREMENT, SLAP_CTRL_HIDE|SLAP_CTRL_MODIFY, NULL, parseModifyIncrement, LDAP_SLIST_ENTRY_INITIALIZER(next) }, +#endif { LDAP_CONTROL_MANAGEDSAIT, SLAP_CTRL_ACCESS, NULL, parseManageDSAit, LDAP_SLIST_ENTRY_INITIALIZER(next) },