]> git.sur5r.net Git - openldap/commitdiff
restrict assertion control to appropriate requests
authorKurt Zeilenga <kurt@openldap.org>
Fri, 16 Dec 2005 14:26:14 +0000 (14:26 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 16 Dec 2005 14:26:14 +0000 (14:26 +0000)
servers/slapd/controls.c

index 63b6b31dc4b7afc2cb90a734653f21d72bf0974c..736aaf36eeff28733e876823a3299093d35f88ce 100644 (file)
@@ -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),