gerases / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

2be27d3 Bug 695779 - windows sync can lose old values when a new value is added

Authored and Committed by nkinder 13 years ago
    Bug 695779 - windows sync can lose old values when a new value is added
    
    When a single modify operation with multiple mods is played back to
    AD, it is possible for some old values to be lost.  We check if a
    mod is necessary to send to AD to detect loops, and skip sending
    operations or values that are not necessary.  This doesn't take
    prior mods in the same modify operation into account though, which
    can make the results incorrect.
    
    This patch makes the sync code keep a running copy of the AD entry
    that the mods are applied to.  We use this copy to check which mods
    can be skipped and which we must send.
    
        
file modified
+8 -0