3f8221c Ticket 49985 - memberof may silently fails to update a member

Authored and Committed by tbordaz 5 years ago
    Ticket 49985 - memberof may silently fails to update a member
    
    Bug Description:
    	when adding 'memberof' to a member entry, the update may fail
    	(invalid schema, db errors...).
    	The error is reported at upper level. But in case of MODRDN
    	the error is lost in memberof_moddn_attr_list where returned
    	code of memberof_modop_one_replace_r is not tested
    
    Fix Description:
    	Report a failure in memberof_moddn_attr_list as soon as
    	memberof_modop_one_replace_r fails
    
    https://pagure.io/389-ds-base/issue/49985
    
    Reviewed by: Simon Pichugi, William Brown
    
    Platforms tested: F27
    
    Flag Day: no
    
    Doc impact: no