[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pki-devel] [PATCH] 0042 Upgrade: add scriptlet to add profile schema

Updated patch attached - it now merely adds the schema update file,
in the simple format that FreeIPA's schema update machinery uses.

If it's ACKed and I'm not around, please push it as we need it in


On Thu, Jun 18, 2015 at 11:51:59AM -0500, Endi Sukma Dewata wrote:
> >>1. The all DS replicas must be running when the package is installed,
> >>otherwise the upgrade will fail.
> >>
> >Not necessarily.  Dogtag schema shows up in 99user.ldif which means they
> >are replicated.  Schema changes are replicated, which means they really
> >only need to be done on one server.  If a replica is down, it will
> >eventually have the change replicated to it when it replays the
> >changelog.
> Right, I meant to say DS of the server being upgraded must be running (last
> minute changes messed it up). If IPA is shutdown, to my understanding it
> will shutdown the DS too.
> -- 
> Endi S. Dewata
From 99f3ce751581f4637d04fde173559064aee52820 Mon Sep 17 00:00:00 2001
From: Fraser Tweedale <ftweedal redhat com>
Date: Thu, 18 Jun 2015 21:28:02 -0400
Subject: [PATCH] Add profiles schema update file

Dogtag does not yet have a reliable way to update its schema, but
FreeIPA does need to add the new schema for LDAP-based profiles
during upgrade to 4.2.  As a temporary solution until Dogtag can
manage its own schema updates (including when deployed as FreeIPA
CA), FreeIPA will perform the schema upgrade.  Provide a schema file
that FreeIPA can use to do this.
 base/server/share/conf/schema-certProfile.ldif | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 base/server/share/conf/schema-certProfile.ldif

diff --git a/base/server/share/conf/schema-certProfile.ldif b/base/server/share/conf/schema-certProfile.ldif
new file mode 100644
index 0000000000000000000000000000000000000000..1f09702c2faad9b213cd32c8841cfc77295e5485
--- /dev/null
+++ b/base/server/share/conf/schema-certProfile.ldif
@@ -0,0 +1,4 @@
+dn: cn=schema
+attributeTypes: ( classId-oid NAME 'classId' DESC 'Certificate profile class ID' SYNTAX X-ORIGIN 'user defined' )
+attributeTypes: ( certProfileConfig-oid NAME 'certProfileConfig' DESC 'Certificate profile configuration' SYNTAX X-ORIGIN 'user defined' )
+objectClasses: ( certProfile-oid NAME 'certProfile' DESC 'Certificate profile' SUP top STRUCTURAL MUST cn MAY ( classId $ certProfileConfig ) X-ORIGIN 'user defined' )

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]