mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
ITS#8768 Accept delcsn from the server
This commit is contained in:
parent
d1e874c605
commit
182ec30a6b
1 changed files with 6 additions and 1 deletions
|
|
@ -4381,7 +4381,12 @@ syncrepl_del_nonpresent(
|
|||
|
||||
if ( !LDAP_LIST_EMPTY( &si->si_nonpresentlist ) ) {
|
||||
|
||||
if ( sc->ctxcsn && !BER_BVISNULL( &sc->ctxcsn[m] ) ) {
|
||||
if ( !BER_BVISNULL( &sc->delcsn ) ) {
|
||||
Debug( LDAP_DEBUG_SYNC, "syncrepl_del_nonpresent: %s "
|
||||
"using delcsn=%s\n",
|
||||
si->si_ridtxt, sc->delcsn.bv_val );
|
||||
csn = sc->delcsn;
|
||||
} else if ( sc->ctxcsn && !BER_BVISNULL( &sc->ctxcsn[m] ) ) {
|
||||
csn = sc->ctxcsn[m];
|
||||
} else {
|
||||
csn = si->si_syncCookie.ctxcsn[0];
|
||||
|
|
|
|||
Loading…
Reference in a new issue