>From c82cb28f20ca329a4a4f6c4ea73e3ec65c120fcd 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/ca/shared/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 00fa919..8a2e0b0 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/ca/shared/conf/schema.ldif b/base/ca/shared/conf/schema.ldif index 70578e2..9d62f4e 100644 --- a/base/ca/shared/conf/schema.ldif +++ b/base/ca/shared/conf/schema.ldif @@ -487,3 +487,18 @@ dn: cn=schema changetype: modify add: objectClasses objectClasses: ( securityDomainSessionEntry-oid NAME 'securityDomainSessionEntry' DESC 'CMS defined class' SUP top STRUCTURAL MUST ( cn $ host $ uid $ cmsUserGroup $ dateOfCreate ) X-ORIGIN 'user defined' ) + +dn: cn=schema +changetype: modify +add: attributeTypes +attributeTypes: ( classId-oid NAME 'classId' DESC 'CMS defined attribute' 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 'CMS defined attribute' 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 'CMS defined class' SUP top STRUCTURAL MUST cn MAY ( classId $ certProfileConfig ) X-ORIGIN 'user defined' ) -- 1.9.3