1
# RFC1274: Cosine and Internet X.500 schema
2
# $OpenLDAP: pkg/ldap/servers/slapd/schema/cosine.schema,v 1.19.2.5 2007/01/02 21:44:09 kurt Exp $
3
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5
## Copyright 1998-2007 The OpenLDAP Foundation.
6
## All rights reserved.
8
## Redistribution and use in source and binary forms, with or without
9
## modification, are permitted only as authorized by the OpenLDAP
12
## A copy of this license is available in the file LICENSE in the
13
## top-level directory of the distribution or, alternatively, at
14
## <http://www.OpenLDAP.org/license.html>.
16
# RFC1274: Cosine and Internet X.500 schema
18
# This file contains LDAPv3 schema derived from X.500 COSINE "pilot"
19
# schema. As this schema was defined for X.500(89), some
20
# oddities were introduced in the mapping to LDAPv3. The
21
# mappings were based upon: draft-ietf-asid-ldapv3-attributes-03.txt
22
# (a work in progress)
24
# Note: It seems that the pilot schema evolved beyond what was
25
# described in RFC1274. However, this document attempts to describes
26
# RFC1274 as published.
28
# Depends on core.schema
30
# The version of this file as distributed by the OpenLDAP Foundation
31
# contains text from an IETF RFC explaining the schema. Unfortunately,
32
# that text is covered by a license that doesn't meet Debian's Free
33
# Software Guidelines. This is a stripped version of the schema that
34
# contains only the functional schema definition, not the text of the
37
# For an explanation of this schema, see RFC 1274, at (among other
38
# places): http://www.ietf.org/rfc/rfc1274.txt
41
##attributetype ( 0.9.2342.19200300.100.1.1 NAME ( 'uid' 'userid' )
42
## EQUALITY caseIgnoreMatch
43
## SUBSTR caseIgnoreSubstringsMatch
44
## SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
46
attributetype ( 0.9.2342.19200300.100.1.2 NAME 'textEncodedORAddress'
47
EQUALITY caseIgnoreMatch
48
SUBSTR caseIgnoreSubstringsMatch
49
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
52
##attributetype ( 0.9.2342.19200300.100.1.3 NAME ( 'mail' 'rfc822Mailbox' )
53
## EQUALITY caseIgnoreIA5Match
54
## SUBSTR caseIgnoreIA5SubstringsMatch
55
## SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
57
attributetype ( 0.9.2342.19200300.100.1.4 NAME 'info'
58
DESC 'RFC1274: general information'
59
EQUALITY caseIgnoreMatch
60
SUBSTR caseIgnoreSubstringsMatch
61
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{2048} )
63
attributetype ( 0.9.2342.19200300.100.1.5
64
NAME ( 'drink' 'favouriteDrink' )
65
DESC 'RFC1274: favorite drink'
66
EQUALITY caseIgnoreMatch
67
SUBSTR caseIgnoreSubstringsMatch
68
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
70
attributetype ( 0.9.2342.19200300.100.1.6 NAME 'roomNumber'
71
DESC 'RFC1274: room number'
72
EQUALITY caseIgnoreMatch
73
SUBSTR caseIgnoreSubstringsMatch
74
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
76
attributetype ( 0.9.2342.19200300.100.1.7 NAME 'photo'
77
DESC 'RFC1274: photo (G3 fax)'
78
SYNTAX 1.3.6.1.4.1.1466.115.121.1.23{25000} )
80
attributetype ( 0.9.2342.19200300.100.1.8 NAME 'userClass'
81
DESC 'RFC1274: category of user'
82
EQUALITY caseIgnoreMatch
83
SUBSTR caseIgnoreSubstringsMatch
84
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
86
attributetype ( 0.9.2342.19200300.100.1.9 NAME 'host'
87
DESC 'RFC1274: host computer'
88
EQUALITY caseIgnoreMatch
89
SUBSTR caseIgnoreSubstringsMatch
90
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
92
attributetype ( 0.9.2342.19200300.100.1.10 NAME 'manager'
93
DESC 'RFC1274: DN of manager'
94
EQUALITY distinguishedNameMatch
95
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
97
attributetype ( 0.9.2342.19200300.100.1.11 NAME 'documentIdentifier'
98
DESC 'RFC1274: unique identifier of document'
99
EQUALITY caseIgnoreMatch
100
SUBSTR caseIgnoreSubstringsMatch
101
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
103
attributetype ( 0.9.2342.19200300.100.1.12 NAME 'documentTitle'
104
DESC 'RFC1274: title of document'
105
EQUALITY caseIgnoreMatch
106
SUBSTR caseIgnoreSubstringsMatch
107
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
109
attributetype ( 0.9.2342.19200300.100.1.13 NAME 'documentVersion'
110
DESC 'RFC1274: version of document'
111
EQUALITY caseIgnoreMatch
112
SUBSTR caseIgnoreSubstringsMatch
113
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
115
attributetype ( 0.9.2342.19200300.100.1.14 NAME 'documentAuthor'
116
DESC 'RFC1274: DN of author of document'
117
EQUALITY distinguishedNameMatch
118
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
120
attributetype ( 0.9.2342.19200300.100.1.15 NAME 'documentLocation'
121
DESC 'RFC1274: location of document original'
122
EQUALITY caseIgnoreMatch
123
SUBSTR caseIgnoreSubstringsMatch
124
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
126
attributetype ( 0.9.2342.19200300.100.1.20
127
NAME ( 'homePhone' 'homeTelephoneNumber' )
128
DESC 'RFC1274: home telephone number'
129
EQUALITY telephoneNumberMatch
130
SUBSTR telephoneNumberSubstringsMatch
131
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 )
133
attributetype ( 0.9.2342.19200300.100.1.21 NAME 'secretary'
134
DESC 'RFC1274: DN of secretary'
135
EQUALITY distinguishedNameMatch
136
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
138
attributetype ( 0.9.2342.19200300.100.1.22 NAME 'otherMailbox'
139
SYNTAX 1.3.6.1.4.1.1466.115.121.1.39 )
141
## Deprecated in favor of modifyTimeStamp
142
#attributetype ( 0.9.2342.19200300.100.1.23 NAME 'lastModifiedTime'
143
# DESC 'RFC1274: time of last modify, replaced by modifyTimestamp'
145
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.53
146
# USAGE directoryOperation )
148
## Deprecated in favor of modifiersName
149
#attributetype ( 0.9.2342.19200300.100.1.24 NAME 'lastModifiedBy'
150
# DESC 'RFC1274: last modifier, replaced by modifiersName'
152
# EQUALITY distinguishedNameMatch
153
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
154
# USAGE directoryOperation )
157
##attributetype ( 0.9.2342.19200300.100.1.25 NAME ( 'dc' 'domainComponent' )
158
## EQUALITY caseIgnoreIA5Match
159
## SUBSTR caseIgnoreIA5SubstringsMatch
160
## SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
163
attributetype ( 0.9.2342.19200300.100.1.26 NAME 'aRecord'
164
EQUALITY caseIgnoreIA5Match
165
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
167
## missing from RFC1274
169
attributetype ( 0.9.2342.19200300.100.1.27 NAME 'mDRecord'
170
EQUALITY caseIgnoreIA5Match
171
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
173
## incorrect syntax!!
174
attributetype ( 0.9.2342.19200300.100.1.28 NAME 'mXRecord'
175
EQUALITY caseIgnoreIA5Match
176
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
178
## incorrect syntax!!
179
attributetype ( 0.9.2342.19200300.100.1.29 NAME 'nSRecord'
180
EQUALITY caseIgnoreIA5Match
181
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
183
## incorrect syntax!!
184
attributetype ( 0.9.2342.19200300.100.1.30 NAME 'sOARecord'
185
EQUALITY caseIgnoreIA5Match
186
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
188
## incorrect syntax!!
189
attributetype ( 0.9.2342.19200300.100.1.31 NAME 'cNAMERecord'
190
EQUALITY caseIgnoreIA5Match
191
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
193
#attributetype ( 0.9.2342.19200300.100.1.37 NAME 'associatedDomain'
194
# EQUALITY caseIgnoreIA5Match
195
# SUBSTR caseIgnoreIA5SubstringsMatch
196
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
198
attributetype ( 0.9.2342.19200300.100.1.38 NAME 'associatedName'
199
DESC 'RFC1274: DN of entry associated with domain'
200
EQUALITY distinguishedNameMatch
201
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
203
attributetype ( 0.9.2342.19200300.100.1.39 NAME 'homePostalAddress'
204
DESC 'RFC1274: home postal address'
205
EQUALITY caseIgnoreListMatch
206
SUBSTR caseIgnoreListSubstringsMatch
207
SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
209
attributetype ( 0.9.2342.19200300.100.1.40 NAME 'personalTitle'
210
DESC 'RFC1274: personal title'
211
EQUALITY caseIgnoreMatch
212
SUBSTR caseIgnoreSubstringsMatch
213
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
215
attributetype ( 0.9.2342.19200300.100.1.41
216
NAME ( 'mobile' 'mobileTelephoneNumber' )
217
DESC 'RFC1274: mobile telephone number'
218
EQUALITY telephoneNumberMatch
219
SUBSTR telephoneNumberSubstringsMatch
220
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 )
222
attributetype ( 0.9.2342.19200300.100.1.42
223
NAME ( 'pager' 'pagerTelephoneNumber' )
224
DESC 'RFC1274: pager telephone number'
225
EQUALITY telephoneNumberMatch
226
SUBSTR telephoneNumberSubstringsMatch
227
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 )
229
attributetype ( 0.9.2342.19200300.100.1.43
230
NAME ( 'co' 'friendlyCountryName' )
231
DESC 'RFC1274: friendly country name'
232
EQUALITY caseIgnoreMatch
233
SUBSTR caseIgnoreSubstringsMatch
234
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
236
attributetype ( 0.9.2342.19200300.100.1.44 NAME 'uniqueIdentifier'
237
DESC 'RFC1274: unique identifer'
238
EQUALITY caseIgnoreMatch
239
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
241
attributetype ( 0.9.2342.19200300.100.1.45 NAME 'organizationalStatus'
242
DESC 'RFC1274: organizational status'
243
EQUALITY caseIgnoreMatch
244
SUBSTR caseIgnoreSubstringsMatch
245
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
247
attributetype ( 0.9.2342.19200300.100.1.46 NAME 'janetMailbox'
248
DESC 'RFC1274: Janet mailbox'
249
EQUALITY caseIgnoreIA5Match
250
SUBSTR caseIgnoreIA5SubstringsMatch
251
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
253
attributetype ( 0.9.2342.19200300.100.1.47
254
NAME 'mailPreferenceOption'
255
DESC 'RFC1274: mail preference option'
256
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
258
attributetype ( 0.9.2342.19200300.100.1.48 NAME 'buildingName'
259
DESC 'RFC1274: name of building'
260
EQUALITY caseIgnoreMatch
261
SUBSTR caseIgnoreSubstringsMatch
262
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
264
attributetype ( 0.9.2342.19200300.100.1.49 NAME 'dSAQuality'
265
DESC 'RFC1274: DSA Quality'
266
SYNTAX 1.3.6.1.4.1.1466.115.121.1.19 SINGLE-VALUE )
268
attributetype ( 0.9.2342.19200300.100.1.50 NAME 'singleLevelQuality'
269
DESC 'RFC1274: Single Level Quality'
270
SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE )
272
attributetype ( 0.9.2342.19200300.100.1.51 NAME 'subtreeMinimumQuality'
273
DESC 'RFC1274: Subtree Mininum Quality'
274
SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE )
276
attributetype ( 0.9.2342.19200300.100.1.52 NAME 'subtreeMaximumQuality'
277
DESC 'RFC1274: Subtree Maximun Quality'
278
SYNTAX 1.3.6.1.4.1.1466.115.121.1.13 SINGLE-VALUE )
280
attributetype ( 0.9.2342.19200300.100.1.53 NAME 'personalSignature'
281
DESC 'RFC1274: Personal Signature (G3 fax)'
282
SYNTAX 1.3.6.1.4.1.1466.115.121.1.23 )
284
attributetype ( 0.9.2342.19200300.100.1.54 NAME 'dITRedirect'
285
DESC 'RFC1274: DIT Redirect'
286
EQUALITY distinguishedNameMatch
287
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
289
attributetype ( 0.9.2342.19200300.100.1.55 NAME 'audio'
290
DESC 'RFC1274: audio (u-law)'
291
SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} )
293
attributetype ( 0.9.2342.19200300.100.1.56 NAME 'documentPublisher'
294
DESC 'RFC1274: publisher of document'
295
EQUALITY caseIgnoreMatch
296
SUBSTR caseIgnoreSubstringsMatch
297
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
299
#objectclass ( 0.9.2342.19200300.100.4.3 NAME 'pilotObject'
300
# DESC 'RFC1274: pilot object'
302
# MAY ( info $ photo $ manager $ uniqueIdentifier $
303
# lastModifiedTime $ lastModifiedBy $ dITRedirect $ audio )
306
objectclass ( 0.9.2342.19200300.100.4.4
307
NAME ( 'pilotPerson' 'newPilotPerson' )
308
SUP person STRUCTURAL
309
MAY ( userid $ textEncodedORAddress $ rfc822Mailbox $
310
favouriteDrink $ roomNumber $ userClass $
311
homeTelephoneNumber $ homePostalAddress $ secretary $
312
personalTitle $ preferredDeliveryMethod $ businessCategory $
313
janetMailbox $ otherMailbox $ mobileTelephoneNumber $
314
pagerTelephoneNumber $ organizationalStatus $
315
mailPreferenceOption $ personalSignature )
318
objectclass ( 0.9.2342.19200300.100.4.5 NAME 'account'
321
MAY ( description $ seeAlso $ localityName $
322
organizationName $ organizationalUnitName $ host )
325
objectclass ( 0.9.2342.19200300.100.4.6 NAME 'document'
327
MUST documentIdentifier
328
MAY ( commonName $ description $ seeAlso $ localityName $
329
organizationName $ organizationalUnitName $
330
documentTitle $ documentVersion $ documentAuthor $
331
documentLocation $ documentPublisher )
334
objectclass ( 0.9.2342.19200300.100.4.7 NAME 'room'
337
MAY ( roomNumber $ description $ seeAlso $ telephoneNumber )
340
objectclass ( 0.9.2342.19200300.100.4.9 NAME 'documentSeries'
343
MAY ( description $ seeAlso $ telephonenumber $
344
localityName $ organizationName $ organizationalUnitName )
347
objectclass ( 0.9.2342.19200300.100.4.13 NAME 'domain'
350
MAY ( associatedName $ organizationName $ description $
351
businessCategory $ seeAlso $ searchGuide $ userPassword $
352
localityName $ stateOrProvinceName $ streetAddress $
353
physicalDeliveryOfficeName $ postalAddress $ postalCode $
354
postOfficeBox $ streetAddress $
355
facsimileTelephoneNumber $ internationalISDNNumber $
356
telephoneNumber $ teletexTerminalIdentifier $ telexNumber $
357
preferredDeliveryMethod $ destinationIndicator $
358
registeredAddress $ x121Address )
361
objectclass ( 0.9.2342.19200300.100.4.14 NAME 'RFC822localPart'
362
SUP domain STRUCTURAL
363
MAY ( commonName $ surname $ description $ seeAlso $ telephoneNumber $
364
physicalDeliveryOfficeName $ postalAddress $ postalCode $
365
postOfficeBox $ streetAddress $
366
facsimileTelephoneNumber $ internationalISDNNumber $
367
telephoneNumber $ teletexTerminalIdentifier $
368
telexNumber $ preferredDeliveryMethod $ destinationIndicator $
369
registeredAddress $ x121Address )
372
objectclass ( 0.9.2342.19200300.100.4.15 NAME 'dNSDomain'
373
SUP domain STRUCTURAL
374
MAY ( ARecord $ MDRecord $ MXRecord $ NSRecord $
375
SOARecord $ CNAMERecord )
378
objectclass ( 0.9.2342.19200300.100.4.17 NAME 'domainRelatedObject'
379
DESC 'RFC1274: an object related to an domain'
381
MUST associatedDomain )
383
objectclass ( 0.9.2342.19200300.100.4.18 NAME 'friendlyCountry'
384
SUP country STRUCTURAL
385
MUST friendlyCountryName )
388
## objectclass ( 0.9.2342.19200300.100.4.19 NAME 'simpleSecurityObject'
390
## MUST userPassword )
392
objectclass ( 0.9.2342.19200300.100.4.20 NAME 'pilotOrganization'
393
SUP ( organization $ organizationalUnit ) STRUCTURAL
396
objectclass ( 0.9.2342.19200300.100.4.21 NAME 'pilotDSA'
400
objectclass ( 0.9.2342.19200300.100.4.22 NAME 'qualityLabelledData'
403
MAY ( subtreeMinimumQuality $ subtreeMaximumQuality )