Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

which LDAP module is the easiest one?

by dxchen (Initiate)
on May 03, 2002 at 14:42 UTC ( [id://163799]=perlquestion: print w/replies, xml ) Need Help??

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

Hi, monks.

Which LDAP module(s) ( in CPAN ) is(are) the easiest one(s)?

I only need a LDAP module to retrieve info in LDAP db.

Thanks,

Don

Edit by tye

Replies are listed 'Best First'.
Re: LDAP question?
by scottstef (Curate) on May 03, 2002 at 14:56 UTC
    A lot of people use Net::LDAP. It can be installed from CPAN and does not require the LDAP C Sdk that Mozzila's LDAP api requires.

    "The social dynamics of the net are a direct consequence of the fact that nobody has yet developed a Remote Strangulation Protocol." -- Larry Wall

      Thanks a lot. I'll check Net::LDAP out, then. Don
Re: LDAP question?
by atcroft (Abbot) on May 03, 2002 at 14:58 UTC

    I have not yet worked with accessing an LDAP database (although that may change with in an upcoming project), but chapter 6 of Perl for System Administration compares the use of Net::LDAP and Mozilla::LDAP (a.k.a. PerlLDAP), and discusses some of the advantages of each.

    I hope this helps somewhat, and I hope that those more familiar with using LDAP from perl will chime in as well.

Re: which LDAP module is the easiest one?
by scottstef (Curate) on May 03, 2002 at 15:07 UTC
    Try Net::LDAP, it is written purely in perl and requires an ANSI module, but it will install via CPAN without much issue. The Mozzila LDAP module for perl requires the Mozilla C SDK which can be fun to install.

    "The social dynamics of the net are a direct consequence of the fact that nobody has yet developed a Remote Strangulation Protocol." -- Larry Wall

Re: which LDAP module is the easiest one?
by beernuts (Pilgrim) on May 06, 2002 at 15:05 UTC
    I'm a big fan of Net::LDAP (thank you Graham!), as you can tell...

    It's pretty easy to use, the pod is pretty good, and it supports TLS/SSL. Not to mention the callback functionality.

    -beernuts

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-19 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found