mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
b914aee946
Don't muck with OpenLDAPperson or openldap.schema. Replace OpenLDAPtime with testTime (in test.schema). Define testPerson instead (in test.schema). Update test004 to use new test schema.
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
# OpenLDAP Test schema
|
|
# $OpenLDAP$
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
##
|
|
## Copyright 1998-2005 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.666.1.34
|
|
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.666.1.35
|
|
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.666.1.36
|
|
NAME 'x509CertificateSerialAndIssuer'
|
|
DESC 'Aliasing attribute: Serial and Issuer together, use'
|
|
EQUALITY certificateExactMatch
|
|
SYNTAX 1.2.826.0.1.3344810.7.1 )
|
|
|
|
# generalized time testing
|
|
|
|
attributetype ( 1.3.6.1.4.1.4203.666.1.37
|
|
name 'testTime'
|
|
equality generalizedTimeMatch
|
|
ordering generalizedTimeOrderingMatch
|
|
syntax 1.3.6.1.4.1.1466.115.121.1.24
|
|
single-value )
|
|
|
|
objectClass ( 1.3.6.1.4.1.4203.666.1.38
|
|
name 'testPerson' sup OpenLDAPperson
|
|
may testTime )
|