Hi list,

I've started creating an application that runs against a larger Novell
eDir system.

Unfortunately, I have huge performance problems :-(.

Basically, here's what I want to do (in pseudocode):

@entries = LDAP->Search(Projects)

foreach my $entry (@entries) {
    LDAP->Search($entry->{Project_Manager})
    ...
}

In this case, the object could be to find the full name of each project
manager.

Unfortunately, this code is extremely slow when run against a directory
with several thousand projects - responsetime is measured in lots of
minutes.

Why isn't there an LDAP->Read function? I have the DN name of the
object in question and need not search for it.

As it appears I cannot read it directly, how do I get the attributes of
an object when I know the DN - in the most efficient way?

Regards,
Lars
-- 

Lars Skjærlund
Consultant
 
Ubiquitech A/S
Lyngby Hovedgade 4,3
2800 Kgs. Lyngby
Denmark
 
Tel: +4570200084
Mobile: +4523457157
 
http://www.ubiquitech.com

Reply via email to