mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#6377, fix rev 1.478
This commit is contained in:
parent
9cfa465107
commit
b800bd4729
@ -165,13 +165,6 @@ init_syncrepl(syncinfo_t *si)
|
||||
sync_descs[3] = NULL;
|
||||
}
|
||||
|
||||
if ( SLAP_SYNC_SUBENTRY( si->si_be )) {
|
||||
build_new_dn( &si->si_contextdn, &si->si_be->be_nsuffix[0],
|
||||
(struct berval *)&slap_ldapsync_cn_bv, NULL );
|
||||
} else {
|
||||
si->si_contextdn = si->si_be->be_nsuffix[0];
|
||||
}
|
||||
|
||||
if ( si->si_allattrs && si->si_allopattrs )
|
||||
attrs = NULL;
|
||||
else
|
||||
@ -1335,6 +1328,12 @@ do_syncrepl(
|
||||
} else {
|
||||
si->si_wbe = be;
|
||||
}
|
||||
if ( SLAP_SYNC_SUBENTRY( si->si_wbe )) {
|
||||
build_new_dn( &si->si_contextdn, &si->si_wbe->be_nsuffix[0],
|
||||
(struct berval *)&slap_ldapsync_cn_bv, NULL );
|
||||
} else {
|
||||
si->si_contextdn = si->si_wbe->be_nsuffix[0];
|
||||
}
|
||||
}
|
||||
if ( !si->si_schemachecking )
|
||||
op->o_no_schema_check = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user