PerLDAP (Mozilla::LDAP::Conn / Mozilla::LDAP::API)

[prev] [thread] [next] [Date index for 2005/01/20]

From: David J Radunz
Subject: PerLDAP (Mozilla::LDAP::Conn / Mozilla::LDAP::API)
Date: 03:12 on 20 Jan 2005
Hey Guys,

	Sorry to bother you all, I have been trying to work this out for the
last 3 days and I really have no idea how to solve it. Originally we
were using Net::LDAP, but decided it was too slow - and after profiling
it we discovered the main flaw was its text parsing (taking 60% of the
time). Anyway, we then found PerLDAP (www.perldap.org) and benchmarked
it against Net::LDAP - the result was that PerLDAP was 10 times faster.
It took me ages to get Mozilla::LDAP::Conn installed (on Solaris 5.9) -
the C-SDK wasnt easily installed from CVS - but the one from the tar.gz
(which is older) installed fine.. however I was only able to get
Mozilla::LDAP 1.5 to compile against it 1.4 didnt compile.

	Cutting to the chase (aka what this all has to do with mod_perl)...
The module works fine under standard perl / apache - but under mod_perl
it will not connect to ldap, it returns the error code 81 (translated -
LDAP server has gone away).

My questions are:

a) Does anyone have experience installing PerLDAP ?
b) Does anyone know how I can debug the C module under mod_perl to find
out what is happening?

Thanks so much - sorry for being long winded ;)

David

This email and any files transmitted with it are confidential and =
intended solely for the=20
use of the individual or entity to whom they are addressed. Please =
notify the sender=20
immediately by email if you have received this email by mistake and =
delete this email=20
from your system. Please note that any views or opinions presented in =
this email are solely
 those of the author and do not necessarily represent those of the =
organisation.=20
Finally, the recipient should check this email and any attachments for =
the presence of=20
viruses. The organisation accepts no liability for any damage caused by =
any virus=20
transmitted by this email.=20

PerLDAP (Mozilla::LDAP::Conn / Mozilla::LDAP::API)
David J Radunz 03:12 on 20 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52