marcos has asked for the wisdom of the Perl Monks concerning the following question:

I have to write a cgi script that has to access a LDAP Server (specifically a Netscape LDAP Server). The script must perform some LDAP search and/or modify.
AFAIK there are two perl modules to interface with LDAP server: perl-ldap-0.19 and Net-LDAPapi-1.42. I played a little with perl-ldap-0.19, but before starting serious development I would like to here someone else experience. Did anyone here ever used these modules? Do you have suggestion?

Replies are listed 'Best First'.
Re: Perl and ldap
by gronkulator (Sexton) on Jun 26, 2000 at 21:43 UTC
    Dont forget PerLDAP from mozilla. I've used 'em all, and I've seen no appreciable difference between the three. Net::LDAPapi built w/ OpenLDAP libraries has offered the least resistance for me and my programming habits. Netscape (iPlanet, whatever) also released some perl modules to work with their C SDK, but I did not have luck with those.
Re: Perl and ldap
by t0mas (Priest) on Jun 27, 2000 at 00:04 UTC
    I'm currently working in a LDAP project using Net::Ldap, and it does it for me.

    /brother t0mas