summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2016-04-16 10:43:02 -0400
committerAde Lee <alee@redhat.com>2016-04-20 17:29:17 -0400
commit55b3b745be977b7d1cfc527ffb5f828deacbe26b (patch)
tree4c534afcbf527e141a2bc75c4d7a4fc9f19794a3
parentb24ea9e24233636d18806326a9e2883235eb38d7 (diff)
downloadpki-55b3b745be977b7d1cfc527ffb5f828deacbe26b.zip
pki-55b3b745be977b7d1cfc527ffb5f828deacbe26b.tar.gz
pki-55b3b745be977b7d1cfc527ffb5f828deacbe26b.tar.xz
Add realm schema changes
Added realm attribute and index. Added to request and keyRecord. Part of Trac Ticket 2041
-rw-r--r--base/kra/shared/conf/index.ldif8
-rw-r--r--base/server/share/conf/schema.ldif9
2 files changed, 15 insertions, 2 deletions
diff --git a/base/kra/shared/conf/index.ldif b/base/kra/shared/conf/index.ldif
index 11ebddf..c604bcb 100644
--- a/base/kra/shared/conf/index.ldif
+++ b/base/kra/shared/conf/index.ldif
@@ -196,3 +196,11 @@ nsindexType: pres
nsindexType: sub
nsSystemindex: false
cn: extension
+
+dn: cn=realm,cn=index,cn={database},cn=ldbm database, cn=plugins, cn=config
+objectClass: top
+objectClass: nsIndex
+nsindexType: eq
+nsindexType: pres
+nsSystemindex: false
+cn: realm
diff --git a/base/server/share/conf/schema.ldif b/base/server/share/conf/schema.ldif
index a15601a..50fa373 100644
--- a/base/server/share/conf/schema.ldif
+++ b/base/server/share/conf/schema.ldif
@@ -425,6 +425,11 @@ attributeTypes: ( cmsUserGroup-oid NAME 'cmsUserGroup' DESC 'CMS defined attribu
dn: cn=schema
changetype: modify
+add: attributeTypes
+attributeTypes: ( realm-oid NAME 'realm' 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: objectClasses
objectClasses: ( CertACLS-oid NAME 'CertACLS' DESC 'CMS defined class' SUP top STRUCTURAL MUST cn MAY resourceACLS X-ORIGIN 'user defined' )
@@ -436,7 +441,7 @@ objectClasses: ( repository-oid NAME 'repository' DESC 'CMS defined class' SUP t
dn: cn=schema
changetype: modify
add: objectClasses
-objectClasses: ( request-oid NAME 'request' DESC 'CMS defined class' SUP top STRUCTURAL MUST cn MAY ( requestId $ dateOfCreate $ dateOfModify $ requestState $ requestResult $ requestOwner $ requestAgentGroup $ requestSourceId $ requestType $ requestFlag $ requestError $ userMessages $ adminMessages ) X-ORIGIN 'user defined' )
+objectClasses: ( request-oid NAME 'request' DESC 'CMS defined class' SUP top STRUCTURAL MUST cn MAY ( requestId $ dateOfCreate $ dateOfModify $ requestState $ requestResult $ requestOwner $ requestAgentGroup $ requestSourceId $ requestType $ requestFlag $ requestError $ userMessages $ adminMessages $ realm ) X-ORIGIN 'user defined' )
dn: cn=schema
changetype: modify
@@ -461,7 +466,7 @@ objectClasses: ( userDetails-oid NAME 'userDetails' DESC 'CMS defined class' SUP
dn: cn=schema
changetype: modify
add: objectClasses
-objectClasses: ( keyRecord-oid NAME 'keyRecord' DESC 'CMS defined class' SUP top STRUCTURAL MUST cn MAY ( serialno $ dateOfCreate $ dateOfModify $ keyState $ privateKeyData $ ownerName $ keySize $ metaInfo $ dateOfArchival $ dateOfRecovery $ algorithm $ publicKeyFormat $ publicKeyData $ archivedBy $ clientId $ dataType $ status ) X-ORIGIN 'user defined' )
+objectClasses: ( keyRecord-oid NAME 'keyRecord' DESC 'CMS defined class' SUP top STRUCTURAL MUST cn MAY ( serialno $ dateOfCreate $ dateOfModify $ keyState $ privateKeyData $ ownerName $ keySize $ metaInfo $ dateOfArchival $ dateOfRecovery $ algorithm $ publicKeyFormat $ publicKeyData $ archivedBy $ clientId $ dataType $ status $ realm ) X-ORIGIN 'user defined' )
dn: cn=schema
changetype: modify