708a56b Ticket #47834 - Tombstone_to_glue: if parents are also converted to glue, the target entry's DN must be adjusted.

Authored and Committed by nhosoi 9 years ago
    Ticket #47834 - Tombstone_to_glue: if parents are also converted to glue, the target entry's DN must be adjusted.
    
    Bug description: tombstone_to_glue resolves parents recursively if
    they are also a tombstone entry, which may change the DN of the
    target entry, but the DN change was not adjusted.
    
    Fix description: Added a new argument newparentdn to tombstone_to_
    glue_resolve_parent to return the new parent DN if it has been updated.
    If a new parent DN is returned, set it to the target DN.
    
    This patch also adds a cache debugging function: check_entry_cache,
    which is disabled by default (in #ifdef CACHE_DEBUG)
    
    Note: this bug is a left over of ticket #47750.
    
    https://fedorahosted.org/389/ticket/47834
    
    Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
    
        
file modified
+1 -1
file modified
+6 -0
file modified
+18 -4