cdaf1bc Ticket #159 - Managed Entry Plugin runs against managed entries upon any update without validating

Authored and Committed by mreynolds 12 years ago
    Ticket #159 - Managed Entry Plugin runs against managed entries upon any update without validating
    
            https://fedorahosted.org/389/ticket/159
    
            Bug Description:  Regardless what attributes are being modified on a entry that is being managed, we
                              still update the managed entry.  If it's not an attrbiute that is part of the managed
                              entry, then this can cause unnecessary load which can impact performance, replication, et
    
            Fix Description:  Store the origin attrs during the config processing.  Then in the mod-post-op only perfor
                              the mod on the managed entry if we have actually modified a origin attr.  Otherwise we
                              don't need to modify the managed entry.
    
            Also fixed a small memory leak.
    
        
file modified
+244 -4