244c940 Ticket 48818 - For a replica bindDNGroup, should be fetched the first time it is used not when the replica is started

Authored and Committed by tbordaz 5 years ago
    Ticket 48818 - For a replica bindDNGroup, should be fetched the first time it is used not when the replica is started
    
    Bug Description:
    	The fetching of the bindDNGroup is working as designed but this ticket is to make it more flexible
    
    	At startup, if the group does not contain the replica_mgr.
    	No replication session will succeed until bindDnGroupCheckInterval delay.
    	updatedn_group_last_check is the timestamp of the last fetch. At startup
    	updatedn_group_last_check is set to the current time. So the next fetch will happen not before
    	updatedn_group_last_check+bindDnGroupCheckInterval.
    
    	If the groupDn is changed after startup, no incoming replication can happen for the first
    	bindDnGroupCheckInterval seconds
    
    Fix Description:
    	The fix consist to unset updatedn_group_last_check so that the group will be fetch when the first
    	incoming replication session will happen.
    
    https://pagure.io/389-ds-base/issue/49818
    
    Reviewed by: Mark Reynolds, Simon Spichugi (thanks !!!)
    
    Platforms tested: F27
    
    Flag Day: no
    
    Doc impact: no