diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index f10c36b600e72370bfcbf9ce80bfd6d659047fc3..69e5a9b095c110443d40509c85356be6a75ac391 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -3186,8 +3186,6 @@ dn_callback( * is actually newer than old entry */ if ( !is_entry_glue( rs->sr_entry )) { - old = attr_find( rs->sr_entry->e_attrs, - slap_schema.si_ad_objectClass ); old = attr_find( rs->sr_entry->e_attrs, slap_schema.si_ad_entryCSN ); new = attr_find( dni->new_entry->e_attrs,