# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 2019-2024 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
#
# This file is provided for informational purposes only.
#
# These definitions are from Sun DSEE 7's cn=schema subentry.
# None of the attributes had matching rules defined; we've
# inserted usable ones as needed.
#
# Some of these attributes are defined with NO-USER-MODIFICATION,
# but slapd won't load such definitions from user-modifiable schema
# files. So that designation has been removed, and commented accordingly.
#
dn: cn=dsee,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: dsee
#
olcObjectIdentifier: NetscapeRoot 2.16.840.1.113730
olcObjectIdentifier: NetscapeDS NetscapeRoot:3
olcObjectIdentifier: NSDSat	NetscapeDS:1
olcObjectIdentifier: NSDSoc NetscapeDS:2
olcObjectIdentifier: SunRoot 1.3.6.1.4.1.42
olcObjectIdentifier: SunDS SunRoot:2.27
#
olcAttributeTypes: ( NSDSat:5
  NAME 'changeNumber'
  DESC 'Changelog attribute type'
  EQUALITY integerMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  X-ORIGIN 'Changelog Internet Draft' )
#
olcAttributeTypes: ( NSDSat:6
  NAME 'targetDn'
  DESC 'Changelog attribute type'
  EQUALITY distinguishedNameMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  X-ORIGIN 'Changelog Internet Draft' )
#
olcAttributeTypes: ( NSDSat:7
  NAME 'changeType'
  DESC 'Changelog attribute type'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  X-ORIGIN 'Changelog Internet Draft' )
#
# They claim Binary syntax but it's really octetString
olcAttributeTypes: ( NSDSat:8
  NAME 'changes'
  DESC 'Changelog attribute type'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.5
  X-ORIGIN 'Changelog Internet Draft' )
#
olcAttributeTypes: ( NSDSat:9
  NAME 'newRdn'
  DESC 'Changelog attribute type'
  EQUALITY distinguishedNameMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  X-ORIGIN 'Changelog Internet Draft' )
#
olcAttributeTypes: ( NSDSat:10
  NAME 'deleteOldRdn'
  DESC 'Changelog attribute type'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
  X-ORIGIN 'Changelog Internet Draft' )
#
olcAttributeTypes: ( NSDSat:11
  NAME 'newSuperior'
  DESC 'Changelog attribute type'
  EQUALITY distinguishedNameMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  X-ORIGIN 'Changelog Internet Draft' )
#
# should be generalizedTime, but they used directoryString instead...
olcAttributeTypes: ( NSDSat:77
  NAME 'changeTime'
  DESC 'Sun ONE defined attribute type'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  X-ORIGIN 'Sun ONE Directory Server' )
#
# These are UUIDs, but (of course) hyphenated differently than ours.
# NO-USER-MODIFICATION
olcAttributeTypes: ( NSDSat:542
  NAME 'nsUniqueId'
  DESC 'Sun ONE defined attribute type'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE
  X-ORIGIN 'Sun ONE Directory Server' )
#
# NO-USER-MODIFICATION
olcAttributeTypes: ( SunDS:9.1.596
  NAME 'targetUniqueId'
  DESC 'RetroChangelog attribute type'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  SINGLE-VALUE
  X-ORIGIN 'Sun Directory Server' )
#
olcObjectclasses: ( NSDSoc:1
  NAME 'changeLogEntry'
  DESC 'LDAP changelog objectclass'
  SUP top STRUCTURAL
  MUST ( targetDn $ changeTime $ changeNumber $ changeType )
  MAY ( changes $ newRdn $ deleteOldRdn $ newSuperior )
  X-ORIGIN 'Changelog Internet Draft' )
