[Pki-devel] CLI for editing profiles

Endi Sukma Dewata edewata at redhat.com
Wed Apr 8 02:23:57 UTC 2015


On 4/7/2015 7:30 PM, Fraser Tweedale wrote:
>>>> 1. Since the profileId and classId are virtual properties and have their own
>>>> LDAP attributes, they should not be stored in certProfileConfig attribute
>>>> when a profile is added/modified.
>>>>
>>> Done.  Because the profile configStore is written and read directly
>>> by the ProfileService, the solution to achieve this is also in that
>>> class.
>>
>> I think the classId provided during createProfileRaw() and
>> modifyProfileRaw() should be stored in both mProfileClassIds Hashtable and
>> in classId LDAP attribute.
>>
> The classId gets stored in mProfileClassIds, and in the LDAP
> attribute, by the createProfile() method.

I think I tried changing the classId using the ca-profile-edit command 
and it didn't get changed in the LDAP entry. Could you verify this? If 
it works that's good. If it doesn't, let's fix this in another patch. 
Thanks.

-- 
Endi S. Dewata




More information about the Pki-devel mailing list