]> git.sur5r.net Git - openldap/commitdiff
Place manageDIT behind LDAP_DEVEL (not for initial 2.3 release)
authorKurt Zeilenga <kurt@openldap.org>
Fri, 3 Jun 2005 20:54:06 +0000 (20:54 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 3 Jun 2005 20:54:06 +0000 (20:54 +0000)
servers/slapd/controls.c

index 7360e06fcb7fb0dca7440aaeee86fd8442f3ccf7..5699329c6efa64eb0c135f62086310cff94d8831 100644 (file)
@@ -28,7 +28,9 @@ static SLAP_CTRL_PARSE_FN parseAssert;
 static SLAP_CTRL_PARSE_FN parsePreRead;
 static SLAP_CTRL_PARSE_FN parsePostRead;
 static SLAP_CTRL_PARSE_FN parseProxyAuthz;
+#ifdef LDAP_DEVEL
 static SLAP_CTRL_PARSE_FN parseManageDIT;
+#endif
 static SLAP_CTRL_PARSE_FN parseManageDSAit;
 static SLAP_CTRL_PARSE_FN parseModifyIncrement;
 static SLAP_CTRL_PARSE_FN parseNoOp;
@@ -162,10 +164,12 @@ static struct slap_control control_defs[] = {
                SLAP_CTRL_HIDE|SLAP_CTRL_MODIFY, NULL,
                parseModifyIncrement, LDAP_SLIST_ENTRY_INITIALIZER(next) },
 #endif
+#ifdef LDAP_DEVEL
        { LDAP_CONTROL_MANAGEDIT,
                (int)offsetof(struct slap_control_ids, sc_manageDIT),
                SLAP_CTRL_GLOBAL|SLAP_CTRL_UPDATE, NULL,
                parseManageDIT, LDAP_SLIST_ENTRY_INITIALIZER(next) },
+#endif
        { LDAP_CONTROL_MANAGEDSAIT,
                (int)offsetof(struct slap_control_ids, sc_manageDSAit),
                SLAP_CTRL_ACCESS, NULL,
@@ -715,6 +719,7 @@ static int parseModifyIncrement (
        return LDAP_SUCCESS;
 }
 
+#ifdef LDAP_DEVEL
 static int parseManageDIT (
        Operation *op,
        SlapReply *rs,
@@ -736,6 +741,7 @@ static int parseManageDIT (
 
        return LDAP_SUCCESS;
 }
+#endif
 
 static int parseManageDSAit (
        Operation *op,