summaryrefslogtreecommitdiffstats
path: root/tests/data/test.schema
blob: 2f93e85e8460bb5d258aabec484f54cceb80b67c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# OpenLDAP Test schema
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2021 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>.
#

# For testing purposes only.

# For Attribute Aliasing.
attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.1
	NAME 'x509CertificateIssuer'
	EQUALITY distinguishedNameMatch
	DESC 'Aliasing attribute: Issuer, use'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )

attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.2
	NAME 'x509CertificateSerial'
	DESC 'Aliasing attribute: Serial, use'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )

attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.3
	NAME 'x509CertificateSerialAndIssuer'
	DESC 'Aliasing attribute: Serial and Issuer together, use'
	EQUALITY certificateExactMatch
	SYNTAX 1.3.6.1.1.15.1 )

# generalized time testing
attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.4
	name 'testTime'
	equality generalizedTimeMatch
	ordering generalizedTimeOrderingMatch
	syntax 1.3.6.1.4.1.1466.115.121.1.24
	single-value )

# for UUID testing
attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.5
	name 'testUUID'
	equality UUIDMatch
	ordering UUIDOrderingMatch
	syntax 1.3.6.1.1.16.1 )

# for obsolete testing
attributetype ( 1.3.6.1.4.1.4203.1.12.1.1.6
	name 'testObsolete'
	obsolete
	equality booleanMatch
	syntax 1.3.6.1.4.1.1466.115.121.1.7
	single-value )

objectClass ( 1.3.6.1.4.1.4203.1.12.1.2.1
	name 'testPerson' sup OpenLDAPperson
	may testTime )

objectClass ( 1.3.6.1.4.1.4203.1.12.1.2.2
	name 'obsoletePerson'
	obsolete auxiliary
	may ( testObsolete ) )