mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#7849 make sure to send cookie after fallback
This commit is contained in:
parent
cf4aa8f9d9
commit
932a11ac76
1 changed files with 4 additions and 0 deletions
|
|
@ -1539,6 +1539,10 @@ reload:
|
|||
op->o_ndn = op->o_bd->be_rootndn;
|
||||
rc = do_syncrep2( op, si );
|
||||
if ( rc == LDAP_SYNC_REFRESH_REQUIRED ) {
|
||||
if ( BER_BVISNULL( &si->si_syncCookie.octet_str ))
|
||||
slap_compose_sync_cookie( NULL, &si->si_syncCookie.octet_str,
|
||||
si->si_syncCookie.ctxcsn, si->si_syncCookie.rid,
|
||||
si->si_syncCookie.sid );
|
||||
rc = ldap_sync_search( si, op->o_tmpmemctx );
|
||||
goto reload;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue