# CDDL HEADER START
|
#
|
# The contents of this file are subject to the terms of the
|
# Common Development and Distribution License, Version 1.0 only
|
# (the "License"). You may not use this file except in compliance
|
# with the License.
|
#
|
# You can obtain a copy of the license at
|
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
|
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
|
# See the License for the specific language governing permissions
|
# and limitations under the License.
|
#
|
# When distributing Covered Code, include this CDDL HEADER in each
|
# file and include the License file at
|
# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
|
# add the following below this CDDL HEADER, with the fields enclosed
|
# by brackets "[]" replaced with your own identifying information:
|
# Portions Copyright [yyyy] [name of copyright owner]
|
#
|
# CDDL HEADER END
|
#
|
#
|
# Copyright 2006-2008 Sun Microsystems, Inc.
|
#
|
#
|
# This file contains schema definitions from draft-good-ldap-changelog, which
|
# defines a mechanism for storing informmation about changes to Directory
|
# Server data.
|
dn: cn=schema
|
objectClass: top
|
objectClass: ldapSubentry
|
objectClass: subschema
|
attributeTypes: ( 2.16.840.1.113730.3.1.5 NAME 'changeNumber'
|
DESC 'a number which uniquely identifies a change made to a directory entry'
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 EQUALITY integerMatch
|
ORDERING integerOrderingMatch SINGLE-VALUE
|
X-ORIGIN 'draft-good-ldap-changelog' )
|
attributeTypes: ( 2.16.840.1.113730.3.1.6 NAME 'targetDN'
|
DESC 'the DN of the entry which was modified' EQUALITY distinguishedNameMatch
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE
|
X-ORIGIN 'draft-good-ldap-changelog' )
|
attributeTypes: ( 2.16.840.1.113730.3.1.7 NAME 'changeType'
|
DESC 'the type of change made to an entry' EQUALITY caseIgnoreMatch
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
|
X-ORIGIN 'draft-good-ldap-changelog' )
|
attributeTypes: ( 2.16.840.1.113730.3.1.8 NAME 'changes'
|
DESC 'a set of changes to apply to an entry'
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 X-ORIGIN 'draft-good-ldap-changelog' )
|
attributeTypes: ( 2.16.840.1.113730.3.1.9 NAME 'newRDN'
|
DESC 'the new RDN of an entry which is the target of a modrdn operation'
|
EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
|
SINGLE-VALUE X-ORIGIN 'draft-good-ldap-changelog' )
|
attributeTypes: ( 2.16.840.1.113730.3.1.10 NAME 'deleteOldRDN'
|
DESC 'a flag which indicates if the old RDN should be retained as an
|
attribute of the entry' EQUALITY booleanMatch
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE
|
X-ORIGIN 'draft-good-ldap-changelog' )
|
attributeTypes: ( 2.16.840.1.113730.3.1.11 NAME 'newSuperior'
|
DESC 'the new parent of an entry which is the target of a moddn operation'
|
EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
|
SINGLE-VALUE X-ORIGIN 'draft-good-ldap-changelog' )
|
objectClasses: ( 2.16.840.1.113730.3.2.1 NAME 'changeLogEntry' SUP top
|
STRUCTURAL MUST ( changeNumber $ targetDN $ changeType )
|
MAY ( changes $ newRDN $ deleteOldRDN $ newSuperior )
|
X-ORIGIN 'draft-good-ldap-changelog' )
|