mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

ea4b109 Ticket 47889 - DS crashed during ipa-server-install on test_ava_filter

1 file Authored by tbordaz 9 years ago, Committed by nhosoi 9 years ago,
    Ticket 47889 - DS crashed during ipa-server-install on test_ava_filter
    
    Bug Description:
    	During a MOD the target entry is duplicated and mods are applied
    	on the duplicated entry that is set in the pblock (SLAPI_MODIFY_EXISTING_ENTRY).
    	In case of transient DB error, ldbm_back_modify retries.
    	But when retrying the duplicated entry will be freed and needs to be duplicated again.
    	The new duplicated entry needs to be set in the pblock.
    	https://fedorahosted.org/389/ticket/47834 erronously skip the setting of SLAPI_MODIFY_EXISTING_ENTRY
    
    Fix Description:
    	Set SLAPI_MODIFY_EXISTING_ENTRY during mod/retry
    
    https://fedorahosted.org/389/ticket/47889
    
    Reviewed by: ?
    
    Platforms tested: F20
    
    Flag Day: no
    
    Doc impact: no
    
    (cherry picked from commit 3b5f3fa1b82cde2bda1104cf758acb64f6484009)
    (cherry picked from commit 0363fa49265c0c27d510064cea361eb400802548)