Skip to content
Browse files

Fix test to work with slapd 2.2.29

  • Loading branch information...
1 parent 7e3deb3 commit 86c99b5d6100a8820d5f67de91ebdb441a6505a3 @gbarr gbarr committed Mar 30, 2006
Showing with 175 additions and 274 deletions.
  1. +0 −1 MANIFEST
  2. +4 −5 Makefile.PL
  3. +25 −44 data/50-cmp.ldif
  4. +21 −41 data/50-in.ldif
  5. +21 −41 data/51-in.ldif
  6. +5 −8 data/51a-cmp.ldif
  7. +6 −7 data/51b-cmp.ldif
  8. +3 −2 data/51c-cmp.ldif
  9. +5 −4 data/51d-cmp.ldif
  10. +47 −44 data/52-cmp.ldif
  11. +21 −41 data/52-in.ldif
  12. +3 −8 data/52-mod.ldif
  13. +3 −2 data/slapd2-conf.in
  14. +0 −23 t/0-signature.t
  15. +7 −1 t/55ssl.t
  16. +4 −2 t/common.pl
View
1 MANIFEST
@@ -91,7 +91,6 @@ MANIFEST
META.yml
README
SIGNATURE
-t/0-signature.t
t/00ldif-entry.t
t/01canon_dn.t
t/02filter.t
View
9 Makefile.PL
@@ -9,6 +9,8 @@ version_from ('lib/Net/LDAP.pm');
license ('perl');
abstract ('LDAP client library');
+sign(1);
+
check_nmake(); # check and download nmake.exe for Win32
requires(
@@ -22,7 +24,7 @@ include ('ExtUtils::AutoInstall');
features(
'SASL authentication' => [
-default => 0,
- 'Authen::SASL' => 2.00,
+ 'Authen::SASL' => '2.00',
recommends('Digest::MD5'), # for DIGEST-MD5 SASL mech
recommends('Digest::HMAC_MD5'), # for CRAM-MD5 SASL mech
recommends('GSSAPI'), # for GSSAPI SASL mech
@@ -54,7 +56,4 @@ features(
auto_install_now();
-sign(1);
-
-&Makefile->write;
-&Meta->write;
+WriteAll;
View
69 data/50-cmp.ldif
@@ -1,3 +1,4 @@
+
dn: o=University of Michigan, c=US
objectclass: top
objectclass: organization
@@ -55,7 +56,7 @@ member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
description: Everyone in the sample data
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=Alumni Assoc Staff, ou=Groups, o=University of Michigan, c=US
member: cn=Manager, o=University of Michigan, c=US
@@ -74,13 +75,13 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
owner: cn=Manager, o=University of Michigan, c=US
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=ITD Staff, ou=Groups, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
description: All ITD Staff
cn: ITD Staff
-objectclass: groupofnames
+objectclass: groupOfNames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
@@ -101,12 +102,10 @@ ou: Alumni Association
dn: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Dorothy Stevens
cn: Dot Stevens
+uid: dorothy
sn: Stevens
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -121,13 +120,11 @@ homephone: +1 313 555 0454
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 1
cn: James Jones
cn: Jim Jones
+uid: james
sn: Jones
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -143,12 +140,10 @@ telephonenumber: +1 313 555 0895
dn: cn=Jane Doe, ou=Alumni Association, ou=People, o=University of Michigan, c
=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jane Doe
cn: Jane Alverson
+uid: jane
sn: Doe
title: Programmer Analyst, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -164,12 +159,10 @@ telephonenumber: +1 313 555 4774
dn: cn=Jennifer Smith, ou=Alumni Association, ou=People, o=University of Michi
gan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jennifer Smith
cn: Jen Smith
+uid: jen
sn: Smith
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -184,12 +177,10 @@ telephonenumber: +1 313 555 8232
dn: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Michigan
, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Mark Elliot
cn: Mark A Elliot
+uid: mark
sn: Elliot
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -204,11 +195,9 @@ telephonenumber: +1 313 555 4177
dn: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Ursula Hampster
+uid: ursula
sn: Hampster
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -224,16 +213,14 @@ dn: ou=Information Technology Division, ou=People, o=University of Michigan, c
=US
objectclass: top
objectclass: organizationalUnit
-ou: Information Technology Divisio
+ou: Information Technology Division
dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Univer
sity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Barbara Jensen
cn: Babs Jensen
+uid: barbara
sn: Jensen
title: Mythical Manager, Research Systems
postaladdress: ITD Prod Dev & Deployment $ 535 W. William St. Room 4212 $ Ann
@@ -251,12 +238,10 @@ telephonenumber: +1 313 555 9022
dn: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Bjorn Jensen
cn: Biiff Jensen
+uid: bjorn
sn: Jensen
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
userpassword: bjorn
@@ -273,13 +258,11 @@ telephonenumber: +1 313 555 0355
dn: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=Unive
rsity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 2
cn: James Jones
cn: Jim Jones
+uid: jim
sn: Doe
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
homepostaladdress: 933 Brooks $ Ann Arbor, MI 48104
@@ -294,12 +277,10 @@ telephonenumber: +1 313 555 7334
dn: cn=John Doe, ou=Information Technology Division, ou=People, o=University o
f Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: John Doe
cn: Jonathon Doe
+uid: john
sn: Doe
postaladdress: ITD $ 535 W. William $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
View
62 data/50-in.ldif
@@ -34,7 +34,7 @@ dn: ou=Information Technology Division, ou=People, o=University of Michigan, c
=US
objectclass: top
objectclass: organizationalUnit
-ou: Information Technology Divisio
+ou: Information Technology Division
dn: cn=All Staff,ou=Groups,o=University of Michigan,c=US
member: cn=Manager, o=University of Michigan, c=US
@@ -84,11 +84,9 @@ objectclass: groupofnames
dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Univer
sity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Barbara Jensen
+uid: barbara
cn: Babs Jensen
sn: Jensen
title: Mythical Manager, Research Systems
@@ -107,12 +105,10 @@ telephonenumber: +1 313 555 9022
dn: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Bjorn Jensen
cn: Biiff Jensen
+uid: bjorn
sn: Jensen
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
userpassword:: Ympvcm4=
@@ -129,12 +125,10 @@ telephonenumber: +1 313 555 0355
dn: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Dorothy Stevens
cn: Dot Stevens
+uid: dorothy
sn: Stevens
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -162,13 +156,11 @@ member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 1
cn: James Jones
cn: Jim Jones
+uid: james
sn: Jones
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -184,13 +176,11 @@ telephonenumber: +1 313 555 0895
dn: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=Unive
rsity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 2
cn: James Jones
cn: Jim Jones
+uid: jim
sn: Doe
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
homepostaladdress: 933 Brooks $ Ann Arbor, MI 48104
@@ -205,12 +195,10 @@ telephonenumber: +1 313 555 7334
dn: cn=Jane Doe, ou=Alumni Association, ou=People, o=University of Michigan, c
=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jane Doe
cn: Jane Alverson
+uid: jane
sn: Doe
title: Programmer Analyst, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -226,12 +214,10 @@ telephonenumber: +1 313 555 4774
dn: cn=Jennifer Smith, ou=Alumni Association, ou=People, o=University of Michi
gan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jennifer Smith
cn: Jen Smith
+uid: jen
sn: Smith
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -246,12 +232,10 @@ telephonenumber: +1 313 555 8232
dn: cn=John Doe, ou=Information Technology Division, ou=People, o=University o
f Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: John Doe
cn: Jonathon Doe
+uid: john
sn: Doe
postaladdress: ITD $ 535 W. William $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -276,12 +260,10 @@ userpassword:: c2VjcmV0
dn: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Michigan
, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Mark Elliot
cn: Mark A Elliot
+uid: mark
sn: Elliot
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -296,11 +278,9 @@ telephonenumber: +1 313 555 4177
dn: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Ursula Hampster
+uid: ursula
sn: Hampster
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
View
62 data/51-in.ldif
@@ -101,12 +101,10 @@ ou: Alumni Association
dn: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Dorothy Stevens
cn: Dot Stevens
+uid: dot
sn: Stevens
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -121,13 +119,11 @@ homephone: +1 313 555 0454
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 1
cn: James Jones
cn: Jim Jones
+uid: james
sn: Jones
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -143,13 +139,11 @@ telephonenumber: +1 313 555 0895
dn: cn=Jane Doe, ou=Alumni Association, ou=People, o=University of Michigan, c
=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jane Doe
cn: Jane Alverson
sn: Doe
+uid: jane
title: Programmer Analyst, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -164,12 +158,10 @@ telephonenumber: +1 313 555 4774
dn: cn=Jennifer Smith, ou=Alumni Association, ou=People, o=University of Michi
gan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jennifer Smith
cn: Jen Smith
+uid: jen
sn: Smith
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -184,12 +176,10 @@ telephonenumber: +1 313 555 8232
dn: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Michigan
, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Mark Elliot
cn: Mark A Elliot
+uid: mark
sn: Elliot
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -204,11 +194,9 @@ telephonenumber: +1 313 555 4177
dn: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Ursula Hampster
+uid: ursula
sn: Hampster
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -224,16 +212,14 @@ dn: ou=Information Technology Division, ou=People, o=University of Michigan, c
=US
objectclass: top
objectclass: organizationalUnit
-ou: Information Technology Divisio
+ou: Information Technology Division
dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Univer
sity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Barbara Jensen
cn: Babs Jensen
+uid: babs
sn: Jensen
title: Mythical Manager, Research Systems
postaladdress: ITD Prod Dev & Deployment $ 535 W. William St. Room 4212 $ Ann
@@ -251,12 +237,10 @@ telephonenumber: +1 313 555 9022
dn: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Bjorn Jensen
cn: Biiff Jensen
+uid: bjorn
sn: Jensen
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
userpassword: bjorn
@@ -273,13 +257,11 @@ telephonenumber: +1 313 555 0355
dn: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=Unive
rsity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 2
cn: James Jones
cn: Jim Jones
+uid: jim
sn: Doe
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
homepostaladdress: 933 Brooks $ Ann Arbor, MI 48104
@@ -294,12 +276,10 @@ telephonenumber: +1 313 555 7334
dn: cn=John Doe, ou=Information Technology Division, ou=People, o=University o
f Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: John Doe
cn: Jonathon Doe
+uid: john
sn: Doe
postaladdress: ITD $ 535 W. William $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
View
13 data/51a-cmp.ldif
@@ -1,11 +1,10 @@
+
dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Univer
sity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Barbara Jensen
cn: Babs Jensen
+uid: babs
sn: Jensen
title: Mythical Manager, Research Systems
postaladdress: ITD Prod Dev & Deployment $ 535 W. William St. Room 4212 $ Ann
@@ -23,12 +22,10 @@ telephonenumber: +1 313 555 9022
dn: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Bjorn Jensen
cn: Biiff Jensen
+uid: bjorn
sn: Jensen
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
userpassword: bjorn
View
13 data/51b-cmp.ldif
@@ -1,3 +1,4 @@
+
dn: cn=All Staff, ou=Groups, o=University of Michigan, c=US
member: cn=Manager, o=University of Michigan, c=US
member: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Un
@@ -23,7 +24,7 @@ member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
description: Everyone in the sample data
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=Alumni Assoc Staff, ou=Groups, o=University of Michigan, c=US
member: cn=Manager, o=University of Michigan, c=US
@@ -42,13 +43,13 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
owner: cn=Manager, o=University of Michigan, c=US
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=ITD Staff, ou=Groups, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
description: All ITD Staff
cn: ITD Staff
-objectclass: groupofnames
+objectclass: groupOfNames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
@@ -59,13 +60,11 @@ member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 1
cn: James Jones
cn: Jim Jones
+uid: james
sn: Jones
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
View
5 data/51c-cmp.ldif
@@ -1,3 +1,4 @@
+
dn: cn=All Staff, ou=Groups, o=University of Michigan, c=US
member: cn=Manager, o=University of Michigan, c=US
member: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Un
@@ -23,7 +24,7 @@ member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
description: Everyone in the sample data
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=Alumni Assoc Staff, ou=Groups, o=University of Michigan, c=US
member: cn=Manager, o=University of Michigan, c=US
@@ -42,4 +43,4 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
owner: cn=Manager, o=University of Michigan, c=US
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
-objectclass: groupofnames
+objectclass: groupOfNames
View
9 data/51d-cmp.ldif
@@ -1,3 +1,4 @@
+
dn: o=University of Michigan, c=US
objectclass: top
objectclass: organization
@@ -45,7 +46,7 @@ member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
description: Everyone in the sample data
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=Alumni Assoc Staff, ou=Groups, o=University of Michigan, c=US
member: cn=Manager, o=University of Michigan, c=US
@@ -64,13 +65,13 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
owner: cn=Manager, o=University of Michigan, c=US
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=ITD Staff, ou=Groups, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
description: All ITD Staff
cn: ITD Staff
-objectclass: groupofnames
+objectclass: groupOfNames
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
@@ -93,4 +94,4 @@ dn: ou=Information Technology Division, ou=People, o=University of Michigan, c
=US
objectclass: top
objectclass: organizationalUnit
-ou: Information Technology Divisio
+ou: Information Technology Division
View
91 data/52-cmp.ldif
@@ -1,3 +1,4 @@
+
dn: o=University of Michigan, c=US
objectclass: top
objectclass: organization
@@ -31,10 +32,31 @@ objectclass: organizationalUnit
ou: Groups
dn: cn=All Staff, ou=Groups, o=University of Michigan, c=US
+member: cn=Manager, o=University of Michigan, c=US
+member: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Un
+ iversity of Michigan, c=US
+member: cn=Jane Doe, ou=Alumni Association, ou=People, o=University of Michiga
+ n, c=US
+member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
+ ty of Michigan, c=US
+member: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Mich
+ igan, c=US
+member: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of
+ Michigan, c=US
+member: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=U
+ niversity of Michigan, c=US
+member: cn=Jennifer Smith, ou=Alumni Association, ou=People, o=University of M
+ ichigan, c=US
+member: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of
+ Michigan, c=US
+member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
+ Michigan, c=US
+member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
+ ersity of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
cn: All Staff
description: Everyone in the sample data
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=Alumni Assoc Staff, ou=Groups, o=University of Michigan, c=US
member: cn=Manager, o=University of Michigan, c=US
@@ -53,13 +75,13 @@ member: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of
owner: cn=Manager, o=University of Michigan, c=US
description: All Alumni Assoc Staff
cn: Alumni Assoc Staff
-objectclass: groupofnames
+objectclass: groupOfNames
dn: cn=ITD Staff, ou=Groups, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
description: All ITD Staff
cn: ITD Staff
-objectclass: groupofnames
+objectclass: groupOfNames
member: cn=Manager, o=University of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
@@ -80,12 +102,10 @@ ou: Alumni Association
dn: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Dorothy Stevens
cn: Dot Stevens
+uid: dot
sn: Stevens
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -100,13 +120,11 @@ homephone: +1 313 555 0454
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 1
cn: James Jones
cn: Jim Jones
+uid: james
sn: Jones
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -123,12 +141,10 @@ drink: Orange Juice
dn: cn=Jane Doe, ou=Alumni Association, ou=People, o=University of Michigan, c
=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jane Doe
cn: Jane Alverson
+uid: jane
sn: Doe
title: Programmer Analyst, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -144,12 +160,10 @@ telephonenumber: +1 313 555 4774
dn: cn=Jennifer Smith, ou=Alumni Association, ou=People, o=University of Michi
gan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jennifer Smith
cn: Jen Smith
+uid: jen
sn: Smith
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -164,12 +178,10 @@ telephonenumber: +1 313 555 8232
dn: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Michigan
, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Mark Elliot
cn: Mark A Elliot
+uid: mark
sn: Elliot
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -184,11 +196,9 @@ telephonenumber: +1 313 555 4177
dn: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Ursula Hampster
+uid: ursula
sn: Hampster
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -204,16 +214,14 @@ dn: ou=Information Technology Division, ou=People, o=University of Michigan, c
=US
objectclass: top
objectclass: organizationalUnit
-ou: Information Technology Divisio
+ou: Information Technology Division
dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Univer
sity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Barbara Jensen
cn: Babs Jensen
+uid: babs
sn: Jensen
title: Mythical Manager, Research Systems
postaladdress: ITD Prod Dev & Deployment $ 535 W. William St. Room 4212 $ Ann
@@ -231,12 +239,10 @@ telephonenumber: +1 313 555 9022
dn: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Bjorn Jensen
cn: Biiff Jensen
+uid: bjorn
sn: Jensen
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
userpassword: bjorn
@@ -254,11 +260,10 @@ drink: Mad Dog 20/20
dn: cn=Gern Jensen, ou=Information Technology Division, ou=People, o=Universit
y of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Gern Jensen
+sn: Jensen
+uid: gern
title: Chief Investigator, ITD
postaladdress: ITD $ 535 W. William St $ Ann Arbor, MI 48103
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -272,12 +277,10 @@ homephone: +1 313 555 8844
dn: cn=John Doe, ou=Information Technology Division, ou=People, o=University o
f Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: John Doe
cn: Jonathon Doe
+uid: john
sn: Doe
postaladdress: ITD $ 535 W. William $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
View
62 data/52-in.ldif
@@ -101,12 +101,10 @@ ou: Alumni Association
dn: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Dorothy Stevens
cn: Dot Stevens
+uid: dot
sn: Stevens
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -121,13 +119,11 @@ homephone: +1 313 555 0454
dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 1
cn: James Jones
cn: Jim Jones
+uid: james
sn: Jones
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -143,12 +139,10 @@ telephonenumber: +1 313 555 0895
dn: cn=Jane Doe, ou=Alumni Association, ou=People, o=University of Michigan, c
=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jane Doe
cn: Jane Alverson
+uid: jane
sn: Doe
title: Programmer Analyst, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -164,12 +158,10 @@ telephonenumber: +1 313 555 4774
dn: cn=Jennifer Smith, ou=Alumni Association, ou=People, o=University of Michi
gan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Jennifer Smith
cn: Jen Smith
+uid: jen
sn: Smith
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -184,12 +176,10 @@ telephonenumber: +1 313 555 8232
dn: cn=Mark Elliot, ou=Alumni Association, ou=People, o=University of Michigan
, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Mark Elliot
cn: Mark A Elliot
+uid: mark
sn: Elliot
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
@@ -204,11 +194,9 @@ telephonenumber: +1 313 555 4177
dn: cn=Ursula Hampster, ou=Alumni Association, ou=People, o=University of Mich
igan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Ursula Hampster
+uid: ursula
sn: Hampster
title: Secretary, UM Alumni Association
postaladdress: Alumni Association $ 111 Maple St $ Ann Arbor, MI 48109
@@ -224,16 +212,14 @@ dn: ou=Information Technology Division, ou=People, o=University of Michigan, c
=US
objectclass: top
objectclass: organizationalUnit
-ou: Information Technology Divisio
+ou: Information Technology Division
dn: cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=Univer
sity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Barbara Jensen
cn: Babs Jensen
+uid: babs
sn: Jensen
title: Mythical Manager, Research Systems
postaladdress: ITD Prod Dev & Deployment $ 535 W. William St. Room 4212 $ Ann
@@ -251,12 +237,10 @@ telephonenumber: +1 313 555 9022
dn: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Bjorn Jensen
cn: Biiff Jensen
+uid: bjorn
sn: Jensen
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
userpassword: bjorn
@@ -273,13 +257,11 @@ telephonenumber: +1 313 555 0355
dn: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=Unive
rsity of Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: James A Jones 2
cn: James Jones
cn: Jim Jones
+uid: jim
sn: Doe
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
homepostaladdress: 933 Brooks $ Ann Arbor, MI 48104
@@ -294,12 +276,10 @@ telephonenumber: +1 313 555 7334
dn: cn=John Doe, ou=Information Technology Division, ou=People, o=University o
f Michigan, c=US
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: John Doe
cn: Jonathon Doe
+uid: john
sn: Doe
postaladdress: ITD $ 535 W. William $ Ann Arbor, MI 48109
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
View
11 data/52-mod.ldif
@@ -22,17 +22,12 @@ add: member
member: cn=Dorothy Stevens, ou=Alumni Association, ou=People, o=University of Michigan, c=US
member: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Michigan, c=US
-dn: cn=All Staff,ou=Groups,o=University of Michigan,c=US
-changetype: modify
-delete: member
-
dn: cn=Gern Jensen, ou=Information Technology Division, ou=People, o=University of Michigan, c=US
changetype: add
-objectclass: top
-objectclass: person
-objectclass: organizationalPerson
-objectclass: newPilotPerson
+objectclass: OpenLDAPperson
cn: Gern Jensen
+sn: Jensen
+uid: gern
title: Chief Investigator, ITD
postaladdress: ITD $ 535 W. William St $ Ann Arbor, MI 48103
seealso: cn=All Staff, ou=Groups, o=University of Michigan, c=US
View
5 data/slapd2-conf.in
@@ -4,7 +4,8 @@
include $SCHEMA_DIR/core.schema
include $SCHEMA_DIR/cosine.schema
include $SCHEMA_DIR/inetorgperson.schema
-schemacheck off
+include $SCHEMA_DIR/openldap.schema
+schemacheck off
pidfile $TESTDB/slapd.pid
argsfile $TESTDB/slapd.args
@@ -21,7 +22,7 @@ rootpw $PASSWD
TLSCertificateFile ./data/cert.pem
TLSCertificateKeyFile ./data/key.pem
-password-hash {CLEARTEXT}
+#password-hash {CLEARTEXT}
#sasl-host localhost
#sasl-realm testing
#sasl-secprops passcred
View
23 t/0-signature.t
@@ -1,23 +0,0 @@
-#!/usr/bin/perl
-# $File: //member/autrijus/Module-Signature/t/0-signature.t $ $Author: gbarr $
-# $Revision: 1.1 $ $Change: 1871 $ $DateTime: 2002/11/03 19:22:02 $
-
-use strict;
-use Test::More tests => 1;
-
-SKIP: {
- if (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) {
- skip("Cannot connect to the keyserver", 1);
- }
- elsif (!eval { require Module::Signature; 1 }) {
- diag("Next time around, consider install Module::Signature,\n".
- "so you can verify the integrity of this distribution.\n");
- skip("Module::Signature not installed", 1);
- }
- else {
- ok(Module::Signature::verify() == Module::Signature::SIGNATURE_OK()
- => "Valid signature" );
- }
-}
-
-__END__
View
8 t/55ssl.t
@@ -2,9 +2,15 @@
BEGIN {
require "t/common.pl";
- start_server(version => 3, ssl => 1);
}
+unless (eval { require IO::Socket::SSL; 1} ) {
+ print "1..0 # IO::Socket::SSL not installed\n";
+ exit;
+}
+
+start_server(version => 3, ssl => 1);
+
print "1..15\n";
$ldap = client();
View
6 t/common.pl
@@ -34,9 +34,11 @@ BEGIN
$LDAP_VERSION = 2;
}
elsif ($SERVER_TYPE eq 'openldap2') {
- $SSL_PORT = 9010 if grep { $_ eq 'ssl' } @server_opts;
+ $SSL_PORT = 9010 if grep { $_ eq 'ssl' } @server_opts
+ and eval { require IO::Socket::SSL; 1};
($IPC_SOCK = "$TEMPDIR/ldapi_sock") =~ s,/,%2f,g if grep { $_ eq 'ipc' } @server_opts;
- $SASL = 1 if grep { $_ eq 'sasl' } @server_opts;
+ $SASL = 1 if grep { $_ eq 'sasl' } @server_opts
+ and eval { require Authen::SASL; 1 };
$CONF_IN = "./data/slapd2-conf.in";
push @URL, "ldap://${HOST}:$PORT/";
push @URL, "ldaps://${HOST}:$SSL_PORT/" if $SSL_PORT;

0 comments on commit 86c99b5

Please sign in to comment.
Something went wrong with that request. Please try again.