[Freeipa-devel] [PATCH] 0051 Handle --subject option in ipa-server-install

Ana Krivokapic akrivoka at redhat.com
Wed Jul 31 09:51:47 UTC 2013


On 07/30/2013 06:24 PM, Petr Viktorin wrote:
> On 07/30/2013 10:27 AM, Ana Krivokapic wrote:
>> Hello,
>>
>> This patch addresses ticket https://fedorahosted.org/freeipa/ticket/3783.
>>
>
> Thanks for the patch, I have a concern below:
>
>> freeipa-akrivoka-0051-Handle-subject-option-in-ipa-server-install.patch
>> diff --git a/install/tools/ipa-upgradeconfig b/install/tools/ipa-upgradeconfig
>> index
>> de17c5b23d79f31e8571a3400d44397630cadada..a2625e6198bcff0811c482e479c8af10716dcea1
>> 100644
>> --- a/install/tools/ipa-upgradeconfig
>> +++ b/install/tools/ipa-upgradeconfig
>> @@ -894,6 +895,7 @@ def main():
>>       configured_constants = dogtag.configured_constants()
>>       sub_dict = dict(
>>           REALM=api.env.realm,
>> +        SUBJECT_BASE=str(DN(('O', api.env.realm))),
>
> When certmap.conf.template's version changes again, this will rewrite the
> subject to the default. Don't we want to use the subject base also here?
>
>
>

You are right. The updated patch uses the current value of subject base from
LDAP to update certmap.conf during upgrades.

-- 
Regards,

Ana Krivokapic
Associate Software Engineer
FreeIPA team
Red Hat Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-akrivoka-0051-02-Handle-subject-option-in-ipa-server-install.patch
Type: text/x-patch
Size: 3404 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130731/c40b7f6e/attachment.bin>


More information about the Freeipa-devel mailing list