mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#6368 add another call to check_syncprov to make sure cookie is fresh
This commit is contained in:
parent
42e56b95d5
commit
ffb06848ff
1 changed files with 1 additions and 0 deletions
|
|
@ -857,6 +857,7 @@ do_syncrep2(
|
|||
slap_parse_sync_cookie( &syncCookie, NULL );
|
||||
if ( syncCookie.ctxcsn ) {
|
||||
int i, sid = slap_parse_csn_sid( syncCookie.ctxcsn );
|
||||
check_syncprov( op, si );
|
||||
for ( i =0; i<si->si_cookieState->cs_num; i++ ) {
|
||||
if ( si->si_cookieState->cs_sids[i] == sid &&
|
||||
ber_bvcmp( syncCookie.ctxcsn, &si->si_cookieState->cs_vals[i] ) <= 0 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue