[Freeipa-devel] [PATCH 0126-0127] reset openldap client config to point to freshly promote replica

Rob Crittenden rcritten at redhat.com
Wed Jan 13 16:59:24 UTC 2016


Martin Babinsky wrote:
> fixes https://fedorahosted.org/freeipa/ticket/5584
> 
> In order to ensure consistent behavior with ipa-client-install, I opted
> to reuse the configure_openldap_conf() function and restoring the config
> from client sysrestore before modifying it.
> 
> If you think this approach is not optimal please propose an alternative
> solution.

You could also just do an action set on URI to change the value, right?
It would need a new function but it would be very small.

If you do end up keeping this I'd want a new commit message for moving
the code to include why you're moving it (to avoid the need to deference
the ticket).

rob




More information about the Freeipa-devel mailing list