[Freeipa-devel] [PATCH 0051] Preserve already configured options in openldap conf

Rob Crittenden rcritten at redhat.com
Wed Apr 24 12:51:50 UTC 2013


Jan Cholasta wrote:
> Hi,
>
> On 23.4.2013 12:28, Tomas Babej wrote:
>> Hi,
>>
>> We should respect already configured options present in
>> /etc/openldap/ldap.conf when generating our own configuration.
>> With this patch, we only rewrite URI, BASE and TLS_CACERT options.
>>
>> https://fedorahosted.org/freeipa/ticket/3582
>>
>
> the changeConf call will fail when the file does not exist, we might
> want to handle that gracefully.
>
> Honza
>

We also need to handle the case where these items are already defined. 
I'm honestly not sure what the behavior should be: overwrite, warn and 
overwrite, fail.

rob




More information about the Freeipa-devel mailing list