>From d54f649ea7e2e2f7bc318151e3da393bcecb43c1 Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Mon, 7 Jul 2014 23:35:35 -0400 Subject: [PATCH 4/9] Add schema for LDAP-based profiles --- base/ca/shared/conf/db.ldif | 5 ++++- base/server/share/conf/schema.ldif | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/base/ca/shared/conf/db.ldif b/base/ca/shared/conf/db.ldif index 00fa919b7df38ed97f0bc21b5616a9998845c7d4..8a2e0b07274a83b317fb1ba56e8ef32b96857118 100644 --- a/base/ca/shared/conf/db.ldif +++ b/base/ca/shared/conf/db.ldif @@ -160,4 +160,7 @@ objectClass: top objectClass: organizationalUnit ou: certificateRepository - +dn: ou=certificateProfiles,ou=ca,{rootSuffix} +objectClass: top +objectClass: organizationalUnit +ou: certificateProfiles diff --git a/base/server/share/conf/schema.ldif b/base/server/share/conf/schema.ldif index 16fdcd97118399b56da2f11a4385aa30a46ae645..475758c5d66bf681e589995505a561bf4e4c40ef 100644 --- a/base/server/share/conf/schema.ldif +++ b/base/server/share/conf/schema.ldif @@ -652,3 +652,18 @@ dn: cn=schema changetype: modify add: objectClasses objectClasses: ( tpsProfileID-oid NAME 'tpsProfileID' DESC 'CMS defined class' SUP top AUXILIARY MAY ( profileID ) X-ORIGIN 'user-defined' ) + +dn: cn=schema +changetype: modify +add: attributeTypes +attributeTypes: ( classId-oid NAME 'classId' DESC 'Certificate profile class ID' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'user defined' ) + +dn: cn=schema +changetype: modify +add: attributeTypes +attributeTypes: ( certProfileConfig-oid NAME 'certProfileConfig' DESC 'Certificate profile configuration' SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 X-ORIGIN 'user defined' ) + +dn: cn=schema +changetype: modify +add: objectClasses +objectClasses: ( certProfile-oid NAME 'certProfile' DESC 'Certificate profile' SUP top STRUCTURAL MUST cn MAY ( classId $ certProfileConfig ) X-ORIGIN 'user defined' ) -- 2.1.0