From: Howard Chu Date: Wed, 18 Nov 2009 22:06:02 +0000 (+0000) Subject: ITS#6368 add another call to check_syncprov to make sure cookie is fresh X-Git-Tag: ACLCHECK_0~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ffb06848ff6a7e922da35f8f02ae2e6cc9f33bb7;p=openldap ITS#6368 add another call to check_syncprov to make sure cookie is fresh --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index ffefe52e81..7a4e6d4118 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -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; isi_cookieState->cs_num; i++ ) { if ( si->si_cookieState->cs_sids[i] == sid && ber_bvcmp( syncCookie.ctxcsn, &si->si_cookieState->cs_vals[i] ) <= 0 ) {