We are using 5.0v2p2 directory server from MessagingDirect.
Given 500 studentIDs, Net::LDAP is used in a cgi script to retrieve
name, e-mail address, major, etc. for each ID. Like this:
$t0 = new Benchmark;
$mesg = $ld->search(base => $BASEDN, scope => 'sub', filter => $filter,
s => @$attributes, typesonly => 0);
$t1 = new Benchmark;
$td = timediff($t1,$t0);
Benchmark shows most 'search' operations contribute 0 seconds. About
20 or so contribute 1 seconds each. So the total execution time is 20
or even more seconds. A note from vendor says the current DS version is
6.1v0 and it can yield 50% speed improvement. Just want to know how
much of this performance issue is server related? Any suggestions on
how to run ldap search fast on the client side?
Bing Du <bing-du@..., 979-845-9577>
Texas A&M University, CIS, Operating Systems, Unix