diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:35:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:35:32 +0000 |
commit | 5ea77a75dd2d2158401331879f3c8f47940a732c (patch) | |
tree | d89dc06e9f4850a900f161e25f84e922c4f86cc8 /tests/data/test.schema | |
parent | Initial commit. (diff) | |
download | openldap-upstream.tar.xz openldap-upstream.zip |
Adding upstream version 2.5.13+dfsg.upstream/2.5.13+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/data/test.schema | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/tests/data/test.schema b/tests/data/test.schema new file mode 100644 index 0000000..0635bf7 --- /dev/null +++ b/tests/data/test.schema @@ -0,0 +1,69 @@ +# OpenLDAP Test schema +# $OpenLDAP$ +## This work is part of OpenLDAP Software <http://www.openldap.org/>. +## +## Copyright 1998-2022 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 ) ) + |