Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (16 sloc) 0.536 kb
#!perl
BEGIN {
require "t/common.pl";
start_server();
}
print "1..7\n";
$ldap = client();
ok($ldap, "client");
$mesg = $ldap->bind($MANAGERDN, password => $PASSWD);
ok(!$mesg->code, "bind: " . $mesg->code . ": " . $mesg->error);
ok(ldif_populate($ldap, "data/52-in.ldif"), "data/52-in.ldif");
# load modify LDIF
ok(ldif_populate($ldap, "data/52-mod.ldif", 'modify'), "data/52-mod.ldif");
# now search the database
$mesg = $ldap->search(base => $BASEDN, filter => 'objectclass=*');
compare_ldif("52",$mesg,$mesg->sorted);
Jump to Line
Something went wrong with that request. Please try again.