mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 15:41:24 -05:00
proxy RFC4525 increment; bail out in case of unsupported extension (ITS#5912)
This commit is contained in:
parent
e80731bc19
commit
4572e7d721
3 changed files with 9 additions and 2 deletions
|
|
@ -62,7 +62,10 @@ ldap_back_initialize( BackendInfo *bi )
|
|||
* and the entryTtl attribute */
|
||||
SLAP_BFLAG_DYNAMIC |
|
||||
#endif /* LDAP_DYNAMIC_OBJECTS */
|
||||
0;
|
||||
|
||||
/* back-ldap recognizes RFC4525 increment;
|
||||
* let the remote server complain, if needed (ITS#5912) */
|
||||
SLAP_BFLAG_INCREMENT;
|
||||
|
||||
bi->bi_open = ldap_back_open;
|
||||
bi->bi_config = 0;
|
||||
|
|
|
|||
|
|
@ -53,7 +53,10 @@ meta_back_initialize(
|
|||
SLAP_BFLAG_DYNAMIC |
|
||||
#endif /* LDAP_DYNAMIC_OBJECTS */
|
||||
#endif
|
||||
0;
|
||||
|
||||
/* back-meta recognizes RFC4525 increment;
|
||||
* let the remote server complain, if needed (ITS#5912) */
|
||||
SLAP_BFLAG_INCREMENT;
|
||||
|
||||
bi->bi_open = meta_back_open;
|
||||
bi->bi_config = 0;
|
||||
|
|
|
|||
|
|
@ -268,6 +268,7 @@ fe_op_modify( Operation *op, SlapReply *rs )
|
|||
if ( op->orm_increment && !SLAP_INCREMENT( op->o_bd ) ) {
|
||||
send_ldap_error( op, rs, LDAP_UNWILLING_TO_PERFORM,
|
||||
"modify/increment not supported in context" );
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue