[Pki-devel] CLI for editing profiles

Fraser Tweedale ftweedal at redhat.com
Tue Apr 14 01:27:47 UTC 2015

On Tue, Apr 07, 2015 at 09:23:57PM -0500, Endi Sukma Dewata wrote:
> 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.
I filed a ticket to track this: https://fedorahosted.org/pki/ticket/1347


More information about the Pki-devel mailing list