Commit efce212a authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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.
parent a1bce885
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment