]> git.sur5r.net Git - openldap/commitdiff
Disallow runtime delete of modload values
authorHoward Chu <hyc@openldap.org>
Tue, 24 Apr 2007 11:46:22 +0000 (11:46 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 24 Apr 2007 11:46:22 +0000 (11:46 +0000)
servers/slapd/bconfig.c

index b3d3eb9d920842788c719e457529ffffaeb012f1..c1b8b4bfbf6e98a2c84c35820da8d63775079d53 100644 (file)
@@ -385,7 +385,7 @@ static ConfigTable config_back_cf_table[] = {
                        "SYNTAX OMsBoolean SINGLE-VALUE )", NULL, NULL },
        { "moduleload", "file", 2, 0, 0,
 #ifdef SLAPD_MODULES
-               ARG_MAGIC|CFG_MODLOAD, &config_generic,
+               ARG_MAGIC|CFG_MODLOAD|ARG_NO_DELETE, &config_generic,
 #else
                ARG_IGNORED, NULL,
 #endif