mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
base entry checking for refreshAndPersist as well
This commit is contained in:
parent
771df8f75b
commit
732f5501a9
@ -513,16 +513,7 @@ dn2entry_retry:
|
|||||||
|
|
||||||
switch(rs->sr_err) {
|
switch(rs->sr_err) {
|
||||||
case DB_NOTFOUND:
|
case DB_NOTFOUND:
|
||||||
if ( sop->o_sync_mode & SLAP_SYNC_PERSIST ) {
|
matched = ei->bei_e; break;
|
||||||
rs->sr_err = LDAP_SUCCESS;
|
|
||||||
rs->sr_rspoid = LDAP_SYNC_INFO;
|
|
||||||
rs->sr_ctrls = NULL;
|
|
||||||
bdb_send_ldap_intermediate( sop, rs,
|
|
||||||
LDAP_SYNC_REFRESH_DONE, &latest_entrycsn_bv );
|
|
||||||
goto done;
|
|
||||||
} else {
|
|
||||||
matched = ei->bei_e; break;
|
|
||||||
}
|
|
||||||
case 0:
|
case 0:
|
||||||
e = ei->bei_e; break;
|
e = ei->bei_e; break;
|
||||||
case LDAP_BUSY:
|
case LDAP_BUSY:
|
||||||
|
Loading…
Reference in New Issue
Block a user