]> git.sur5r.net Git - openldap/commitdiff
remove support for control as the operation is now incompatible
authorPierangelo Masarati <ando@openldap.org>
Fri, 16 Dec 2005 15:01:59 +0000 (15:01 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 16 Dec 2005 15:01:59 +0000 (15:01 +0000)
servers/slapd/back-bdb/add.c
servers/slapd/back-sql/add.c

index 1c63d51a3d0be89a9d7e7974decd69b9ef593a25..c9eb98c816e325fbc13cb1536cd475f13f95a9e3 100644 (file)
@@ -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 );
 
index 15c3b9742a3c5115f01c9b390f0c51e3dcf2735c..54226a0d8dc24794ff2b3bef5e97e49a2bedd7f5 100644 (file)
@@ -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