]> git.sur5r.net Git - openldap/blob - servers/slapd/schema/core.schema
b336dc51f9577185779712116ff9b8b9dd343411
[openldap] / servers / slapd / schema / core.schema
1 # OpenLDAP Core schema
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2004 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
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>.
15 #
16 ## Portions Copyright (C) The Internet Society (1997-2003).
17 ## All Rights Reserved.
18 ##
19 ## This document and translations of it may be copied and furnished to
20 ## others, and derivative works that comment on or otherwise explain it
21 ## or assist in its implementation may be prepared, copied, published
22 ## and distributed, in whole or in part, without restriction of any
23 ## kind, provided that the above copyright notice and this paragraph are
24 ## included on all such copies and derivative works.  However, this
25 ## document itself may not be modified in any way, such as by removing
26 ## the copyright notice or references to the Internet Society or other
27 ## Internet organizations, except as needed for the purpose of
28 ## developing Internet standards in which case the procedures for
29 ## copyrights defined in the Internet Standards process must be         
30 ## followed, or as required to translate it into languages other than
31 ## English.
32 ##                                                                      
33 ## The limited permissions granted above are perpetual and will not be  
34 ## revoked by the Internet Society or its successors or assigns.        
35 ## 
36 ## This document and the information contained herein is provided on an 
37 ## "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
38 ## TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
39 ## BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
40 ## HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
41 ## MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
42
43 #
44 #
45 # Includes LDAPv3 schema items from:
46 #       RFC 2252/2256 (LDAPv3)
47 #
48 # Select standard track schema items:
49 #       RFC 1274 (uid/dc)
50 #       RFC 2079 (URI)
51 #       RFC 2247 (dc/dcObject)
52 #       RFC 2587 (PKI)
53 #       RFC 2589 (Dynamic Directory Services)
54 #
55 # Select informational schema items:
56 #       RFC 2377 (uidObject)
57
58 #
59 # Standard attribute types from RFC 2256
60 #
61
62 # system schema
63 #attributetype ( 2.5.4.0 NAME 'objectClass'
64 #       DESC 'RFC2256: object classes of the entity'
65 #       EQUALITY objectIdentifierMatch
66 #       SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
67
68 # system schema
69 #attributetype ( 2.5.4.1 NAME ( 'aliasedObjectName' 'aliasedEntryName' )
70 #       DESC 'RFC2256: name of aliased object'
71 #       EQUALITY distinguishedNameMatch
72 #       SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE )
73
74 attributetype ( 2.5.4.2 NAME 'knowledgeInformation'
75         DESC 'RFC2256: knowledge information'
76         EQUALITY caseIgnoreMatch
77         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
78
79 # system schema
80 #attributetype ( 2.5.4.3 NAME ( 'cn' 'commonName' )
81 #       DESC 'RFC2256: common name(s) for which the entity is known by'
82 #       SUP name )
83
84 attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' )
85         DESC 'RFC2256: last (family) name(s) for which the entity is known by'
86         SUP name )
87
88 attributetype ( 2.5.4.5 NAME 'serialNumber'
89         DESC 'RFC2256: serial number of the entity'
90         EQUALITY caseIgnoreMatch
91         SUBSTR caseIgnoreSubstringsMatch
92         SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{64} )
93
94 attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
95         DESC 'RFC2256: ISO-3166 country 2-letter code'
96         SUP name SINGLE-VALUE )
97
98 attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' )
99         DESC 'RFC2256: locality which this object resides in'
100         SUP name )
101
102 attributetype ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' )
103         DESC 'RFC2256: state or province which this object resides in'
104         SUP name )
105
106 attributetype ( 2.5.4.9 NAME ( 'street' 'streetAddress' )
107         DESC 'RFC2256: street address of this object'
108         EQUALITY caseIgnoreMatch
109         SUBSTR caseIgnoreSubstringsMatch
110         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
111
112 attributetype ( 2.5.4.10 NAME ( 'o' 'organizationName' )
113         DESC 'RFC2256: organization this object belongs to'
114         SUP name )
115
116 attributetype ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' )
117         DESC 'RFC2256: organizational unit this object belongs to'
118         SUP name )
119
120 attributetype ( 2.5.4.12 NAME 'title'
121         DESC 'RFC2256: title associated with the entity'
122         SUP name )
123
124 attributetype ( 2.5.4.13 NAME 'description'
125         DESC 'RFC2256: descriptive information'
126         EQUALITY caseIgnoreMatch
127         SUBSTR caseIgnoreSubstringsMatch
128         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
129
130 # Obsoleted by enhancedSearchGuide
131 attributetype ( 2.5.4.14 NAME 'searchGuide'
132         DESC 'RFC2256: search guide, obsoleted by enhancedSearchGuide'
133         SYNTAX 1.3.6.1.4.1.1466.115.121.1.25 )
134
135 attributetype ( 2.5.4.15 NAME 'businessCategory'
136         DESC 'RFC2256: business category'
137         EQUALITY caseIgnoreMatch
138         SUBSTR caseIgnoreSubstringsMatch
139         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
140
141 attributetype ( 2.5.4.16 NAME 'postalAddress'
142         DESC 'RFC2256: postal address'
143         EQUALITY caseIgnoreListMatch
144         SUBSTR caseIgnoreListSubstringsMatch
145         SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
146
147 attributetype ( 2.5.4.17 NAME 'postalCode'
148         DESC 'RFC2256: postal code'
149         EQUALITY caseIgnoreMatch
150         SUBSTR caseIgnoreSubstringsMatch
151         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )
152
153 attributetype ( 2.5.4.18 NAME 'postOfficeBox'
154         DESC 'RFC2256: Post Office Box'
155         EQUALITY caseIgnoreMatch
156         SUBSTR caseIgnoreSubstringsMatch
157         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )
158
159 attributetype ( 2.5.4.19 NAME 'physicalDeliveryOfficeName'
160         DESC 'RFC2256: Physical Delivery Office Name'
161         EQUALITY caseIgnoreMatch
162         SUBSTR caseIgnoreSubstringsMatch
163         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
164
165 attributetype ( 2.5.4.20 NAME 'telephoneNumber'
166         DESC 'RFC2256: Telephone Number'
167         EQUALITY telephoneNumberMatch
168         SUBSTR telephoneNumberSubstringsMatch
169         SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} )
170
171 attributetype ( 2.5.4.21 NAME 'telexNumber'
172         DESC 'RFC2256: Telex Number'
173         SYNTAX 1.3.6.1.4.1.1466.115.121.1.52 )
174
175 attributetype ( 2.5.4.22 NAME 'teletexTerminalIdentifier'
176         DESC 'RFC2256: Teletex Terminal Identifier'
177         SYNTAX 1.3.6.1.4.1.1466.115.121.1.51 )
178
179 attributetype ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax' )
180         DESC 'RFC2256: Facsimile (Fax) Telephone Number'
181         SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 )
182
183 attributetype ( 2.5.4.24 NAME 'x121Address'
184         DESC 'RFC2256: X.121 Address'
185         EQUALITY numericStringMatch
186         SUBSTR numericStringSubstringsMatch
187         SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{15} )
188
189 attributetype ( 2.5.4.25 NAME 'internationaliSDNNumber'
190         DESC 'RFC2256: international ISDN number'
191         EQUALITY numericStringMatch
192         SUBSTR numericStringSubstringsMatch
193         SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} )
194
195 attributetype ( 2.5.4.26 NAME 'registeredAddress'
196         DESC 'RFC2256: registered postal address'
197         SUP postalAddress
198         SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
199
200 attributetype ( 2.5.4.27 NAME 'destinationIndicator'
201         DESC 'RFC2256: destination indicator'
202         EQUALITY caseIgnoreMatch
203         SUBSTR caseIgnoreSubstringsMatch
204         SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{128} )
205
206 attributetype ( 2.5.4.28 NAME 'preferredDeliveryMethod'
207         DESC 'RFC2256: preferred delivery method'
208         SYNTAX 1.3.6.1.4.1.1466.115.121.1.14
209         SINGLE-VALUE )
210
211 attributetype ( 2.5.4.29 NAME 'presentationAddress'
212         DESC 'RFC2256: presentation address'
213         EQUALITY presentationAddressMatch
214         SYNTAX 1.3.6.1.4.1.1466.115.121.1.43
215         SINGLE-VALUE )
216
217 attributetype ( 2.5.4.30 NAME 'supportedApplicationContext'
218         DESC 'RFC2256: supported application context'
219         EQUALITY objectIdentifierMatch
220         SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
221
222 attributetype ( 2.5.4.31 NAME 'member'
223         DESC 'RFC2256: member of a group'
224         SUP distinguishedName )
225
226 attributetype ( 2.5.4.32 NAME 'owner'
227         DESC 'RFC2256: owner (of the object)'
228         SUP distinguishedName )
229
230 attributetype ( 2.5.4.33 NAME 'roleOccupant'
231         DESC 'RFC2256: occupant of role'
232         SUP distinguishedName )
233
234 attributetype ( 2.5.4.34 NAME 'seeAlso'
235         DESC 'RFC2256: DN of related object'
236         SUP distinguishedName )
237
238 # system schema
239 #attributetype ( 2.5.4.35 NAME 'userPassword'
240 #       DESC 'RFC2256/2307: password of user'
241 #       EQUALITY octetStringMatch
242 #       SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} )
243
244 # Must be transferred using ;binary
245 # with certificateExactMatch rule (per X.509)
246 attributetype ( 2.5.4.36 NAME 'userCertificate'
247         DESC 'RFC2256: X.509 user certificate, use ;binary'
248         EQUALITY certificateExactMatch
249         SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
250
251 # Must be transferred using ;binary
252 # with certificateExactMatch rule (per X.509)
253 attributetype ( 2.5.4.37 NAME 'cACertificate'
254         DESC 'RFC2256: X.509 CA certificate, use ;binary'
255         EQUALITY certificateExactMatch
256         SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
257
258 # Component Filter Testing
259 attributetype ( 1.3.6.1.4.1.4203.666.1.33 NAME 'componentTest'
260         DESC 'RFC3687 Component Matching , use ;gser'
261         EQUALITY componentFilterMatch 
262         SYNTAX 1.2.36.79672281.1.5.2 )
263
264 # Must be transferred using ;binary
265 attributetype ( 2.5.4.38 NAME 'authorityRevocationList'
266         DESC 'RFC2256: X.509 authority revocation list, use ;binary'
267         SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
268
269 # Must be transferred using ;binary
270 attributetype ( 2.5.4.39 NAME 'certificateRevocationList'
271         DESC 'RFC2256: X.509 certificate revocation list, use ;binary'
272         SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
273
274 # Must be stored and requested in the binary form
275 attributetype ( 2.5.4.40 NAME 'crossCertificatePair'
276         DESC 'RFC2256: X.509 cross certificate pair, use ;binary'
277         SYNTAX 1.3.6.1.4.1.1466.115.121.1.10 )
278
279 # 2.5.4.41 is defined above as it's used for subtyping
280 #attributetype ( 2.5.4.41 NAME 'name'
281 #       EQUALITY caseIgnoreMatch
282 #       SUBSTR caseIgnoreSubstringsMatch
283 #       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
284
285 attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' )
286         DESC 'RFC2256: first name(s) for which the entity is known by'
287         SUP name )
288
289 attributetype ( 2.5.4.43 NAME 'initials'
290         DESC 'RFC2256: initials of some or all of names, but not the surname(s).'
291         SUP name )
292
293 attributetype ( 2.5.4.44 NAME 'generationQualifier'
294         DESC 'RFC2256: name qualifier indicating a generation'
295         SUP name )
296
297 attributetype ( 2.5.4.45 NAME 'x500UniqueIdentifier'
298         DESC 'RFC2256: X.500 unique identifier'
299         EQUALITY bitStringMatch
300         SYNTAX 1.3.6.1.4.1.1466.115.121.1.6 )
301
302 attributetype ( 2.5.4.46 NAME 'dnQualifier'
303         DESC 'RFC2256: DN qualifier'
304         EQUALITY caseIgnoreMatch
305         ORDERING caseIgnoreOrderingMatch
306         SUBSTR caseIgnoreSubstringsMatch
307         SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )
308
309 attributetype ( 2.5.4.47 NAME 'enhancedSearchGuide'
310         DESC 'RFC2256: enhanced search guide'
311         SYNTAX 1.3.6.1.4.1.1466.115.121.1.21 )
312
313 attributetype ( 2.5.4.48 NAME 'protocolInformation'
314         DESC 'RFC2256: protocol information'
315         EQUALITY protocolInformationMatch
316         SYNTAX 1.3.6.1.4.1.1466.115.121.1.42 )
317
318 # 2.5.4.49 is defined above as it's used for subtyping
319 #attributetype ( 2.5.4.49 NAME 'distinguishedName'
320 #       EQUALITY distinguishedNameMatch
321 #       SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
322
323 attributetype ( 2.5.4.50 NAME 'uniqueMember'
324         DESC 'RFC2256: unique member of a group'
325         EQUALITY uniqueMemberMatch
326         SYNTAX 1.3.6.1.4.1.1466.115.121.1.34 )
327
328 attributetype ( 2.5.4.51 NAME 'houseIdentifier'
329         DESC 'RFC2256: house identifier'
330         EQUALITY caseIgnoreMatch
331         SUBSTR caseIgnoreSubstringsMatch
332         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
333
334 # Must be transferred using ;binary
335 attributetype ( 2.5.4.52 NAME 'supportedAlgorithms'
336         DESC 'RFC2256: supported algorithms'
337         SYNTAX 1.3.6.1.4.1.1466.115.121.1.49 )
338
339 # Must be transferred using ;binary
340 attributetype ( 2.5.4.53 NAME 'deltaRevocationList'
341         DESC 'RFC2256: delta revocation list; use ;binary'
342         SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
343
344 attributetype ( 2.5.4.54 NAME 'dmdName'
345         DESC 'RFC2256: name of DMD'
346         SUP name )
347
348
349 # Standard object classes from RFC2256
350
351 # system schema
352 #objectclass ( 2.5.6.1 NAME 'alias'
353 #       DESC 'RFC2256: an alias'
354 #       SUP top STRUCTURAL
355 #       MUST aliasedObjectName )
356
357 objectclass ( 2.5.6.2 NAME 'country'
358         DESC 'RFC2256: a country'
359         SUP top STRUCTURAL
360         MUST c
361         MAY ( searchGuide $ description ) )
362
363 objectclass ( 2.5.6.3 NAME 'locality'
364         DESC 'RFC2256: a locality'
365         SUP top STRUCTURAL
366         MAY ( street $ seeAlso $ searchGuide $ st $ l $ description ) )
367
368 objectclass ( 2.5.6.4 NAME 'organization'
369         DESC 'RFC2256: an organization'
370         SUP top STRUCTURAL
371         MUST o
372         MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
373                 x121Address $ registeredAddress $ destinationIndicator $
374                 preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
375                 telephoneNumber $ internationaliSDNNumber $ 
376                 facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
377                 postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )
378
379 objectclass ( 2.5.6.5 NAME 'organizationalUnit'
380         DESC 'RFC2256: an organizational unit'
381         SUP top STRUCTURAL
382         MUST ou
383         MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
384                 x121Address $ registeredAddress $ destinationIndicator $
385                 preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
386                 telephoneNumber $ internationaliSDNNumber $
387                 facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
388                 postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )
389
390 objectclass ( 2.5.6.6 NAME 'person'
391         DESC 'RFC2256: a person'
392         SUP top STRUCTURAL
393         MUST ( sn $ cn )
394         MAY ( userPassword $ telephoneNumber $ seeAlso $ description $componentTest ) )
395
396 objectclass ( 2.5.6.7 NAME 'organizationalPerson'
397         DESC 'RFC2256: an organizational person'
398         SUP person STRUCTURAL
399         MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $
400                 preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
401                 telephoneNumber $ internationaliSDNNumber $
402                 facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
403                 postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) )
404
405 objectclass ( 2.5.6.8 NAME 'organizationalRole'
406         DESC 'RFC2256: an organizational role'
407         SUP top STRUCTURAL
408         MUST cn
409         MAY ( x121Address $ registeredAddress $ destinationIndicator $
410                 preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
411                 telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
412                 seeAlso $ roleOccupant $ preferredDeliveryMethod $ street $
413                 postOfficeBox $ postalCode $ postalAddress $
414                 physicalDeliveryOfficeName $ ou $ st $ l $ description ) )
415
416 objectclass ( 2.5.6.9 NAME 'groupOfNames'
417         DESC 'RFC2256: a group of names (DNs)'
418         SUP top STRUCTURAL
419         MUST ( member $ cn )
420         MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )
421
422 objectclass ( 2.5.6.10 NAME 'residentialPerson'
423         DESC 'RFC2256: an residential person'
424         SUP person STRUCTURAL
425         MUST l
426         MAY ( businessCategory $ x121Address $ registeredAddress $
427                 destinationIndicator $ preferredDeliveryMethod $ telexNumber $
428                 teletexTerminalIdentifier $ telephoneNumber $ internationaliSDNNumber $
429                 facsimileTelephoneNumber $ preferredDeliveryMethod $ street $
430                 postOfficeBox $ postalCode $ postalAddress $
431                 physicalDeliveryOfficeName $ st $ l ) )
432
433 objectclass ( 2.5.6.11 NAME 'applicationProcess'
434         DESC 'RFC2256: an application process'
435         SUP top STRUCTURAL
436         MUST cn
437         MAY ( seeAlso $ ou $ l $ description ) )
438
439 objectclass ( 2.5.6.12 NAME 'applicationEntity'
440         DESC 'RFC2256: an application entity'
441         SUP top STRUCTURAL
442         MUST ( presentationAddress $ cn )
443         MAY ( supportedApplicationContext $ seeAlso $ ou $ o $ l $
444         description ) )
445
446 objectclass ( 2.5.6.13 NAME 'dSA'
447         DESC 'RFC2256: a directory system agent (a server)'
448         SUP applicationEntity STRUCTURAL
449         MAY knowledgeInformation )
450
451 objectclass ( 2.5.6.14 NAME 'device'
452         DESC 'RFC2256: a device'
453         SUP top STRUCTURAL
454         MUST cn
455         MAY ( serialNumber $ seeAlso $ owner $ ou $ o $ l $ description ) )
456
457 objectclass ( 2.5.6.15 NAME 'strongAuthenticationUser'
458         DESC 'RFC2256: a strong authentication user'
459         SUP top AUXILIARY
460         MUST userCertificate )
461
462 objectclass ( 2.5.6.16 NAME 'certificationAuthority'
463         DESC 'RFC2256: a certificate authority'
464         SUP top AUXILIARY
465         MUST ( authorityRevocationList $ certificateRevocationList $
466                 cACertificate ) MAY crossCertificatePair )
467
468 objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames'
469         DESC 'RFC2256: a group of unique names (DN and Unique Identifier)'
470         SUP top STRUCTURAL
471         MUST ( uniqueMember $ cn )
472         MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )
473
474 objectclass ( 2.5.6.18 NAME 'userSecurityInformation'
475         DESC 'RFC2256: a user security information'
476         SUP top AUXILIARY
477         MAY ( supportedAlgorithms ) )
478
479 objectclass ( 2.5.6.16.2 NAME 'certificationAuthority-V2'
480         SUP certificationAuthority
481         AUXILIARY MAY ( deltaRevocationList ) )
482
483 objectclass ( 2.5.6.19 NAME 'cRLDistributionPoint'
484         SUP top STRUCTURAL
485         MUST ( cn )
486         MAY ( certificateRevocationList $ authorityRevocationList $
487                 deltaRevocationList ) )
488
489 objectclass ( 2.5.6.20 NAME 'dmd'
490         SUP top STRUCTURAL
491         MUST ( dmdName )
492         MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
493                 x121Address $ registeredAddress $ destinationIndicator $
494                 preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
495                 telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
496                 street $ postOfficeBox $ postalCode $ postalAddress $
497                 physicalDeliveryOfficeName $ st $ l $ description ) )
498
499 #
500 # Object Classes from RFC 2587
501 #
502 objectclass ( 2.5.6.21 NAME 'pkiUser'
503         DESC 'RFC2587: a PKI user'
504         SUP top AUXILIARY
505         MAY userCertificate )
506
507 objectclass ( 2.5.6.22 NAME 'pkiCA'
508         DESC 'RFC2587: PKI certificate authority'
509         SUP top AUXILIARY
510         MAY ( authorityRevocationList $ certificateRevocationList $
511                 cACertificate $ crossCertificatePair ) )
512
513 objectclass ( 2.5.6.23 NAME 'deltaCRL'
514         DESC 'RFC2587: PKI user'
515         SUP top AUXILIARY
516         MAY deltaRevocationList )
517
518 #
519 # Standard Track URI label schema from RFC 2079
520 # system schema
521 #attributetype ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'
522 #       DESC 'RFC2079: Uniform Resource Identifier with optional label'
523 #       EQUALITY caseExactMatch
524 #       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
525
526 objectclass ( 1.3.6.1.4.1.250.3.15 NAME 'labeledURIObject'
527         DESC 'RFC2079: object that contains the URI attribute type'
528         MAY ( labeledURI )
529         SUP top AUXILIARY )
530
531 #
532 # Derived from RFC 1274, but with new "short names"
533 #
534 attributetype ( 0.9.2342.19200300.100.1.1
535         NAME ( 'uid' 'userid' )
536         DESC 'RFC1274: user identifier'
537         EQUALITY caseIgnoreMatch
538         SUBSTR caseIgnoreSubstringsMatch
539         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
540
541 attributetype ( 0.9.2342.19200300.100.1.3
542         NAME ( 'mail' 'rfc822Mailbox' )
543         DESC 'RFC1274: RFC822 Mailbox'
544     EQUALITY caseIgnoreIA5Match
545     SUBSTR caseIgnoreIA5SubstringsMatch
546     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
547
548 objectclass ( 0.9.2342.19200300.100.4.19 NAME 'simpleSecurityObject'
549         DESC 'RFC1274: simple security object'
550         SUP top AUXILIARY
551         MUST userPassword )
552
553 # RFC 1274 + RFC 2247
554 attributetype ( 0.9.2342.19200300.100.1.25
555         NAME ( 'dc' 'domainComponent' )
556         DESC 'RFC1274/2247: domain component'
557         EQUALITY caseIgnoreIA5Match
558         SUBSTR caseIgnoreIA5SubstringsMatch
559         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
560
561 # RFC 2247
562 objectclass ( 1.3.6.1.4.1.1466.344 NAME 'dcObject'
563         DESC 'RFC2247: domain component object'
564         SUP top AUXILIARY MUST dc )
565
566 # RFC 2377
567 objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject'
568         DESC 'RFC2377: uid object'
569         SUP top AUXILIARY MUST uid )
570
571 # From COSINE Pilot
572 attributetype ( 0.9.2342.19200300.100.1.37
573         NAME 'associatedDomain'
574         DESC 'RFC1274: domain associated with object'
575         EQUALITY caseIgnoreIA5Match
576         SUBSTR caseIgnoreIA5SubstringsMatch
577         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
578
579 # RFC 2459 -- deprecated in favor of 'mail' (in cosine.schema)
580 attributetype ( 1.2.840.113549.1.9.1
581         NAME ( 'email' 'emailAddress' 'pkcs9email' )
582         DESC 'RFC2459: legacy attribute for email addresses in DNs'
583         EQUALITY caseIgnoreIA5Match
584         SUBSTR caseIgnoreIA5SubstringsMatch
585         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
586