mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-22 14:53:33 -05:00
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.
This commit is contained in:
parent
a1bce885a0
commit
efce212af9
4 changed files with 33 additions and 16 deletions
|
|
@ -98,7 +98,7 @@ associatedDomain: example.com
|
|||
|
||||
dn: cn=Gern Jensen,ou=Information Technology Division,ou=People,dc=example,dc=
|
||||
com
|
||||
objectClass: OpenLDAPperson
|
||||
objectClass: testPerson
|
||||
cn: Gern Jensen
|
||||
sn: Jensen
|
||||
uid: gjensen
|
||||
|
|
@ -112,7 +112,7 @@ facsimileTelephoneNumber: +1 313 555 7557
|
|||
telephoneNumber: +1 313 555 8343
|
||||
mail: gjensen@mailgw.example.com
|
||||
homePhone: +1 313 555 8844
|
||||
OpenLDAPtime: 20050304001801.234Z
|
||||
testTime: 20050304001801.234Z
|
||||
|
||||
dn: ou=Groups,dc=example,dc=com
|
||||
objectClass: organizationalUnit
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ include ./schema/cosine.schema
|
|||
include ./schema/inetorgperson.schema
|
||||
include ./schema/openldap.schema
|
||||
include ./schema/nis.schema
|
||||
include ./testdata/test.schema
|
||||
|
||||
#
|
||||
pidfile ./testrun/slapd.1.pid
|
||||
|
|
|
|||
|
|
@ -17,17 +17,33 @@
|
|||
# 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.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.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 )
|
||||
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.37
|
||||
name 'testPerson' sup OpenLDAPperson
|
||||
may testTime )
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ objectClass: userSecurityInformation
|
|||
|
||||
dn: cn=Gern Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com
|
||||
changetype: add
|
||||
objectclass: OpenLDAPperson
|
||||
objectclass: testPerson
|
||||
cn: Gern Jensen
|
||||
sn: Jensen
|
||||
uid: gjensen
|
||||
|
|
@ -149,7 +149,7 @@ facsimiletelephonenumber: +1 313 555 7557
|
|||
telephonenumber: +1 313 555 8343
|
||||
mail: gjensen@mailgw.example.com
|
||||
homephone: +1 313 555 8844
|
||||
OpenLDAPtime: 20050304001801.234Z
|
||||
testTime: 20050304001801.234Z
|
||||
|
||||
dn: cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com
|
||||
changetype: delete
|
||||
|
|
|
|||
Loading…
Reference in a new issue