From: Kurt Zeilenga Date: Fri, 16 Dec 2005 14:26:14 +0000 (+0000) Subject: restrict assertion control to appropriate requests X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~573 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a6127452f50e67f9f6c97f1c7c07903c01ba81b8;p=openldap restrict assertion control to appropriate requests --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 63b6b31dc4..736aaf36ee 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -102,7 +102,8 @@ static char *proxy_authz_extops[] = { static struct slap_control control_defs[] = { { LDAP_CONTROL_ASSERT, (int)offsetof(struct slap_control_ids, sc_assert), - SLAP_CTRL_ACCESS, NULL, + SLAP_CTRL_DELETE|SLAP_CTRL_MODIFY|SLAP_CTRL_RENAME| + SLAP_CTRL_COMPARE|SLAP_CTRL_SEARCH, NULL, parseAssert, LDAP_SLIST_ENTRY_INITIALIZER(next) }, { LDAP_CONTROL_PRE_READ, (int)offsetof(struct slap_control_ids, sc_preRead),