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 
use of the individual or entity to whom they are addressed. Please notify the 
sender 
immediately by email if you have received this email by mistake and delete this 
email 
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. 
Finally, the recipient should check this email and any attachments for the 
presence of 
viruses. The organisation accepts no liability for any damage caused by any 
virus 
transmitted by this email. 

Reply via email to