From: Pierangelo Masarati Date: Fri, 16 Dec 2005 15:01:59 +0000 (+0000) Subject: remove support for control as the operation is now incompatible X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~570 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b984e616c3bce3dc288db92f7bde9185d8818889;p=openldap remove support for control as the operation is now incompatible --- diff --git a/servers/slapd/back-bdb/add.c b/servers/slapd/back-bdb/add.c index 1c63d51a3d..c9eb98c816 100644 --- a/servers/slapd/back-bdb/add.c +++ b/servers/slapd/back-bdb/add.c @@ -253,14 +253,6 @@ retry: /* transaction retry */ } } - if ( get_assert( op ) && - ( test_filter( op, op->oq_add.rs_e, get_assertion( op )) - != LDAP_COMPARE_TRUE )) - { - rs->sr_err = LDAP_ASSERTION_FAILED; - goto return_results; - } - rs->sr_err = access_allowed( op, op->oq_add.rs_e, entry, NULL, ACL_WADD, NULL ); diff --git a/servers/slapd/back-sql/add.c b/servers/slapd/back-sql/add.c index 15c3b9742a..54226a0d8d 100644 --- a/servers/slapd/back-sql/add.c +++ b/servers/slapd/back-sql/add.c @@ -1141,15 +1141,6 @@ backsql_add( Operation *op, SlapReply *rs ) } } - if ( get_assert( op ) && - ( test_filter( op, op->oq_add.rs_e, get_assertion( op ) ) - != LDAP_COMPARE_TRUE ) ) - { - rs->sr_err = LDAP_ASSERTION_FAILED; - e = op->ora_e; - goto done; - } - /* * create_proc is executed; if expect_return is set, then * an output parameter is bound, which should contain