mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Make modify/increment conditional
This commit is contained in:
parent
806ec7470b
commit
3eb5337020
@ -113,9 +113,11 @@ static struct slap_control control_defs[] = {
|
||||
{ LDAP_CONTROL_SYNC,
|
||||
SLAP_CTRL_HIDE|SLAP_CTRL_SEARCH, NULL,
|
||||
parseLDAPsync, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||
#ifdef LDAP_CONTROL_MODIFY_INCREMENT
|
||||
{ LDAP_CONTROL_MODIFY_INCREMENT,
|
||||
SLAP_CTRL_HIDE|SLAP_CTRL_MODIFY, NULL,
|
||||
parseModifyIncrement, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||
#endif
|
||||
{ LDAP_CONTROL_MANAGEDSAIT,
|
||||
SLAP_CTRL_ACCESS, NULL,
|
||||
parseManageDSAit, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||
|
Loading…
Reference in New Issue
Block a user