]> git.sur5r.net Git - openldap/blob - tests/data/test.schema
4b9e3c6e8403f69a2048a77d4297da78d196ab4c
[openldap] / tests / data / test.schema
1 # OpenLDAP Test schema
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2017 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
17 # For testing purposes only.
18
19 # For Attribute Aliasing.
20 attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.1
21         NAME 'x509CertificateIssuer'
22         EQUALITY distinguishedNameMatch
23         DESC 'Aliasing attribute: Issuer, use'
24         SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
25
26 attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.2
27         NAME 'x509CertificateSerial'
28         DESC 'Aliasing attribute: Serial, use'
29         EQUALITY integerMatch
30         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
31
32 attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.3
33         NAME 'x509CertificateSerialAndIssuer'
34         DESC 'Aliasing attribute: Serial and Issuer together, use'
35         EQUALITY certificateExactMatch
36         SYNTAX 1.3.6.1.1.15.1 )
37
38 # generalized time testing
39 attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.4
40         name 'testTime'
41         equality generalizedTimeMatch
42         ordering generalizedTimeOrderingMatch
43         syntax 1.3.6.1.4.1.1466.115.121.1.24
44         single-value )
45
46 # for UUID testing
47 attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.5
48         name 'testUUID'
49         equality UUIDMatch
50         ordering UUIDOrderingMatch
51         syntax 1.3.6.1.1.16.1 )
52
53 # for obsolete testing
54 attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.6
55         name 'testObsolete'
56         obsolete
57         equality booleanMatch
58         syntax 1.3.6.1.4.1.1466.115.121.1.7
59         single-value )
60
61 objectClass ( 1.3.6.1.4.1.4203.1.12.1.2.1
62         name 'testPerson' sup OpenLDAPperson
63         may testTime )
64
65 objectClass ( 1.3.6.1.4.1.4203.1.12.1.2.2
66         name 'obsoletePerson'
67         obsolete auxiliary
68         may ( testObsolete ) )
69