[Freeipa-devel] [PATCH] 0006 Removes sssd.conf after uninstall.

Martin Kosek mkosek at redhat.com
Mon Aug 27 14:55:33 UTC 2012


On 08/27/2012 03:37 PM, Jakub Hrozek wrote:
> On Mon, Aug 27, 2012 at 02:57:44PM +0200, Martin Kosek wrote:
>> I think that the right behavior of SSSD conf uninstall should be the following:
>>
>> * sssd.conf existed before IPA install + non-IPA domains in sssd.conf found:
>>   - move backed conf up sssd.conf.bkp (and inform the user)
>>   - use SSSDConfig delete_domain function to remove ipa domain from sssd.conf
>>   - restart sssd afterwards
> 
> I'm confused here, which of the files is the original
> pre-ipa-client-install file?

This is the "backed up sssd.conf". I thought that it may be useful for user to
still have an access to it after uninstall.

> 
> How does the non-ipa domain end up in the sssd.conf file? Does it have
> to be configured manually or does ipa-client-install merge the list of
> domains on installation?

ipa-client-install merge the list of the domains. It overrides the old
sssd.conf only when we cannot parse the sssd.conf and --preserve-sssd option
was not set.

Martin




More information about the Freeipa-devel mailing list