Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Perl and ldap

by marcos (Scribe)
on Jun 26, 2000 at 16:43 UTC ( #19838=perlquestion: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://19838]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2023-03-24 05:18 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.