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

Hello Folks,

I am very much familiar with PERL but I completely new to LDAP.

Hence I need your help to use LDAP database through PERL. Here are my queries:

1. Which are the best available PERL modules to connect to LDAP database and execute queries.

2. Can I get any freely available hosted LDAP database where I can connect and execute sample queries through PERL

3. Can someone suggest some good books on LDAP integration with PERL?

Thanks in advance

Replies are listed 'Best First'.
Re: Using LDAP through Perl
by moritz (Cardinal) on Sep 17, 2009 at 08:08 UTC
    The language is spelled "Perl", the compiler "perl". There is no PERL.

    I've seen a talk that recommended Net::LDAP, which seems to come with decent examples and documentation.

    You can search for other LDAP modules yourself, of course: LDAP.

    Update: It seems that LDAP System Administration has a chapter on Perl and Net::LDAP. Google is your friend, of course.

    Perl 6 - links to (nearly) everything that is Perl 6.
Re: Using LDAP through PERL
by Utilitarian (Vicar) on Sep 17, 2009 at 08:16 UTC
    1. Net::LDAP every thing you need to build robust ldap apps
    2. Not that I'm aware of, but openldap is, for LDAP, quite easy to set up and following the quick start guide on their site will give you an environment to play with.
    3. The O'Reilly LDAP System administration contains a very full explanation of LDAP admin with Perl as well as covering all the concepts you are new to.
Re: Using LDAP through PERL
by SilasTheMonk (Chaplain) on Sep 17, 2009 at 20:57 UTC