]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10497 bconfig: use the right value for noop
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 27 Apr 2026 10:26:10 +0000 (11:26 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 29 Apr 2026 00:09:35 +0000 (00:09 +0000)
servers/slapd/bconfig.c

index 986be859318cb7ef05427b8aeb44209f457a867c..18cc4f8646272b961341a52341e136a0bfc90693 100644 (file)
@@ -4277,7 +4277,7 @@ config_ldif_resp( Operation *op, SlapReply *rs )
                                                "%s=" SLAP_X_ORDERED_FMT "%s",
                                                cfAd_database->ad_cname.bv_val, -1,
                                                sc->ca->bi->bi_type);
-                                       op->o_noop = 1;
+                                       op->o_noop = SLAP_CONTROL_CRITICAL;
                                        sc->frontend = config_build_entry( op, rs,
                                                sc->cfb->cb_root, sc->ca, &rdn, &CFOC_DATABASE,
                                                sc->ca->be->be_cf_ocs );
@@ -4312,7 +4312,7 @@ config_ldif_resp( Operation *op, SlapReply *rs )
                                        "%s=" SLAP_X_ORDERED_FMT "%s",
                                        cfAd_database->ad_cname.bv_val, 0,
                                        sc->ca->bi->bi_type);
-                               op->o_noop = 1;
+                               op->o_noop = SLAP_CONTROL_CRITICAL;
                                sc->config = config_build_entry( op, rs, sc->cfb->cb_root,
                                        sc->ca, &rdn, &CFOC_DATABASE, sc->ca->be->be_cf_ocs );
                                op->o_noop = i;
@@ -7619,7 +7619,7 @@ config_back_db_open( BackendDB *be, ConfigReply *cr )
        op->o_ndn = op->o_bd->be_rootndn;
 
        if ( !cfb->cb_use_ldif ) {
-               op->o_noop = 1;
+               op->o_noop = SLAP_CONTROL_CRITICAL;
        }
 
        /* If we read the config from back-ldif, do some quick sanity checks */