mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
More for contextCSN checks
This commit is contained in:
parent
36571123ca
commit
d57ad4f3c0
@ -2661,7 +2661,10 @@ dn_callback(
|
|||||||
if ( dni->new_entry ) {
|
if ( dni->new_entry ) {
|
||||||
Modifications **modtail, **ml;
|
Modifications **modtail, **ml;
|
||||||
Attribute *old, *new;
|
Attribute *old, *new;
|
||||||
int i;
|
int i, is_ctx;
|
||||||
|
|
||||||
|
is_ctx = dn_match( &rs->sr_entry->e_nname,
|
||||||
|
&op->o_bd->be_nsuffix[0] );
|
||||||
|
|
||||||
/* Did the DN change?
|
/* Did the DN change?
|
||||||
*/
|
*/
|
||||||
@ -2720,6 +2723,13 @@ dn_callback(
|
|||||||
new = new->a_next;
|
new = new->a_next;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
/* Skip contextCSN */
|
||||||
|
if ( is_ctx && old->a_desc ==
|
||||||
|
slap_schema.si_ad_contextCSN ) {
|
||||||
|
old = old->a_next;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if ( old->a_desc != new->a_desc ) {
|
if ( old->a_desc != new->a_desc ) {
|
||||||
Modifications *mod;
|
Modifications *mod;
|
||||||
Attribute *tmp;
|
Attribute *tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user