From: Howard Chu Date: Tue, 6 Feb 2007 00:06:09 +0000 (+0000) Subject: Add a debug message when skipping an old entry. X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d87d11eb094ee3522db96665b071c966ccd6810e;p=openldap Add a debug message when skipping an old entry. --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 7e72db64f4..053f9d0ae0 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2746,6 +2746,12 @@ dn_callback( slap_schema.si_ad_entryCSN ); if ( new && old && ber_bvcmp( &old->a_vals[0], &new->a_vals[0] ) >= 0 ) { + Debug( LDAP_DEBUG_SYNC, + "dn_callback : new entry is older than ours " + "%s ours %s, new %s\n", + rs->sr_entry->e_name.bv_val, + old->a_vals[0].bv_val, + new->a_vals[0].bv_val ); return LDAP_SUCCESS; }