mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-02 20:10:11 -05:00
ITS#10313 Allow counter mods to be chained
This commit is contained in:
parent
e0cca3fcab
commit
6a28e8919d
1 changed files with 3 additions and 0 deletions
|
|
@ -987,6 +987,9 @@ otp_check_and_update( Operation *op, BerValue *totpdn, BerValue *hotpdn,
|
|||
slap_op_time( &op2.o_time, &op2.o_tincr );
|
||||
BER_BVZERO( &op2.o_csn );
|
||||
|
||||
if ( SLAP_SHADOW( op->o_bd ) ) {
|
||||
op2.o_bd = frontendDB;
|
||||
}
|
||||
rc = op2.o_bd->be_modify( &op2, &rs2 );
|
||||
if ( rs2.sr_err != LDAP_SUCCESS ) {
|
||||
Debug( LDAP_DEBUG_ANY, "%s otp_check_and_update: "
|
||||
|
|
|
|||
Loading…
Reference in a new issue