mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Place manageDIT behind LDAP_DEVEL (not for initial 2.3 release)
This commit is contained in:
parent
8297b0b9df
commit
8ef743309b
@ -28,7 +28,9 @@ static SLAP_CTRL_PARSE_FN parseAssert;
|
|||||||
static SLAP_CTRL_PARSE_FN parsePreRead;
|
static SLAP_CTRL_PARSE_FN parsePreRead;
|
||||||
static SLAP_CTRL_PARSE_FN parsePostRead;
|
static SLAP_CTRL_PARSE_FN parsePostRead;
|
||||||
static SLAP_CTRL_PARSE_FN parseProxyAuthz;
|
static SLAP_CTRL_PARSE_FN parseProxyAuthz;
|
||||||
|
#ifdef LDAP_DEVEL
|
||||||
static SLAP_CTRL_PARSE_FN parseManageDIT;
|
static SLAP_CTRL_PARSE_FN parseManageDIT;
|
||||||
|
#endif
|
||||||
static SLAP_CTRL_PARSE_FN parseManageDSAit;
|
static SLAP_CTRL_PARSE_FN parseManageDSAit;
|
||||||
static SLAP_CTRL_PARSE_FN parseModifyIncrement;
|
static SLAP_CTRL_PARSE_FN parseModifyIncrement;
|
||||||
static SLAP_CTRL_PARSE_FN parseNoOp;
|
static SLAP_CTRL_PARSE_FN parseNoOp;
|
||||||
@ -162,10 +164,12 @@ static struct slap_control control_defs[] = {
|
|||||||
SLAP_CTRL_HIDE|SLAP_CTRL_MODIFY, NULL,
|
SLAP_CTRL_HIDE|SLAP_CTRL_MODIFY, NULL,
|
||||||
parseModifyIncrement, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
parseModifyIncrement, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef LDAP_DEVEL
|
||||||
{ LDAP_CONTROL_MANAGEDIT,
|
{ LDAP_CONTROL_MANAGEDIT,
|
||||||
(int)offsetof(struct slap_control_ids, sc_manageDIT),
|
(int)offsetof(struct slap_control_ids, sc_manageDIT),
|
||||||
SLAP_CTRL_GLOBAL|SLAP_CTRL_UPDATE, NULL,
|
SLAP_CTRL_GLOBAL|SLAP_CTRL_UPDATE, NULL,
|
||||||
parseManageDIT, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
parseManageDIT, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||||
|
#endif
|
||||||
{ LDAP_CONTROL_MANAGEDSAIT,
|
{ LDAP_CONTROL_MANAGEDSAIT,
|
||||||
(int)offsetof(struct slap_control_ids, sc_manageDSAit),
|
(int)offsetof(struct slap_control_ids, sc_manageDSAit),
|
||||||
SLAP_CTRL_ACCESS, NULL,
|
SLAP_CTRL_ACCESS, NULL,
|
||||||
@ -715,6 +719,7 @@ static int parseModifyIncrement (
|
|||||||
return LDAP_SUCCESS;
|
return LDAP_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef LDAP_DEVEL
|
||||||
static int parseManageDIT (
|
static int parseManageDIT (
|
||||||
Operation *op,
|
Operation *op,
|
||||||
SlapReply *rs,
|
SlapReply *rs,
|
||||||
@ -736,6 +741,7 @@ static int parseManageDIT (
|
|||||||
|
|
||||||
return LDAP_SUCCESS;
|
return LDAP_SUCCESS;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int parseManageDSAit (
|
static int parseManageDSAit (
|
||||||
Operation *op,
|
Operation *op,
|
||||||
|
Loading…
Reference in New Issue
Block a user