1# $OpenLDAP$ 2## This work is part of OpenLDAP Software <http://www.openldap.org/>. 3## 4## Copyright 2019-2021 The OpenLDAP Foundation. 5## All rights reserved. 6## 7## Redistribution and use in source and binary forms, with or without 8## modification, are permitted only as authorized by the OpenLDAP 9## Public License. 10## 11## A copy of this license is available in the file LICENSE in the 12## top-level directory of the distribution or, alternatively, at 13## <http://www.OpenLDAP.org/license.html>. 14 15# This file is provided for informational purposes only. 16 17# These definitions are from Sun DSEE 7's cn=schema subentry. 18# None of the attributes had matching rules defined; we've 19# inserted usable ones as needed. 20 21# Some of these attributes are defined with NO-USER-MODIFICATION, 22# but slapd won't load such definitions from user-modifiable schema 23# files. So that designation has been removed, and commented accordingly. 24 25objectidentifier NetscapeRoot 2.16.840.1.113730 26objectidentifier NetscapeDS NetscapeRoot:3 27objectidentifier NSDSat NetscapeDS:1 28objectidentifier NSDSoc NetscapeDS:2 29objectidentifier SunRoot 1.3.6.1.4.1.42 30objectidentifier SunDS SunRoot:2.27 31 32attributetype ( NSDSat:5 33 NAME 'changeNumber' 34 DESC 'Changelog attribute type' 35 EQUALITY integerMatch 36 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 37 X-ORIGIN 'Changelog Internet Draft' ) 38 39attributetype ( NSDSat:6 40 NAME 'targetDn' 41 DESC 'Changelog attribute type' 42 EQUALITY distinguishedNameMatch 43 SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 44 X-ORIGIN 'Changelog Internet Draft' ) 45 46attributetype ( NSDSat:7 47 NAME 'changeType' 48 DESC 'Changelog attribute type' 49 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 50 X-ORIGIN 'Changelog Internet Draft' ) 51 52# They claim Binary syntax but it's really octetString 53attributetype ( NSDSat:8 54 NAME 'changes' 55 DESC 'Changelog attribute type' 56 SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 57 X-ORIGIN 'Changelog Internet Draft' ) 58 59attributetype ( NSDSat:9 60 NAME 'newRdn' 61 DESC 'Changelog attribute type' 62 EQUALITY distinguishedNameMatch 63 SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 64 X-ORIGIN 'Changelog Internet Draft' ) 65 66attributetype ( NSDSat:10 67 NAME 'deleteOldRdn' 68 DESC 'Changelog attribute type' 69 SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 70 X-ORIGIN 'Changelog Internet Draft' ) 71 72attributetype ( NSDSat:11 73 NAME 'newSuperior' 74 DESC 'Changelog attribute type' 75 EQUALITY distinguishedNameMatch 76 SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 77 X-ORIGIN 'Changelog Internet Draft' ) 78 79# should be generalizedTime, but they used directoryString instead... 80attributeType ( NSDSat:77 81 NAME 'changeTime' 82 DESC 'Sun ONE defined attribute type' 83 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 84 X-ORIGIN 'Sun ONE Directory Server' ) 85 86# These are UUIDs, but (of course) hyphenated differently than ours. 87# NO-USER-MODIFICATION 88attributetype ( NSDSat:542 89 NAME 'nsUniqueId' 90 DESC 'Sun ONE defined attribute type' 91 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 92 SINGLE-VALUE 93 X-ORIGIN 'Sun ONE Directory Server' ) 94 95# NO-USER-MODIFICATION 96attributeype ( SunDS:9.1.596 97 NAME 'targetUniqueId' 98 DESC 'RetroChangelog attribute type' 99 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 100 SINGLE-VALUE 101 X-ORIGIN 'Sun Directory Server' ) 102 103objectclass ( NSDSoc:1 104 NAME 'changeLogEntry' 105 DESC 'LDAP changelog objectclass' 106 SUP top STRUCTURAL 107 MUST ( targetDn $ changeTime $ changeNumber $ changeType ) 108 MAY ( changes $ newRdn $ deleteOldRdn $ newSuperior ) 109 X-ORIGIN 'Changelog Internet Draft' ) 110