c70b88d Ticket 47901: After total init, nsds5replicaLastInitStatus can report an erroneous error status (like 'Referral')

Authored and Committed by tbordaz 9 years ago
    Ticket 47901: After total init, nsds5replicaLastInitStatus can report an erroneous error status (like 'Referral')
    
    Bug Description:
    	Total update may fails for several reasons:
    		- consumer ldap server returning an error to the extended op
    		- replication problem (replica not acquired, replication disabled)
    		- connection timeout
    	When the replica is acquired and the total update starts, each
    	entry is sent by send_entry. send_entry returns a conn_Result not a ldap error
    
    Fix Description:
    	Change agmt_set_last_init_status to that the 3 errors (ldap, replication, connection)
    	are reported.
    
    http://fedorahosted.org/389/ticket/47901
    
    Reviewed by: Ludwig Krispenz, Rich Megginson (Thanks Ludwig, thanks Rich)
    
    Platforms tested: F17
    
    Flag Day: no
    
    Doc impact: no