in reply to LDAP modules/advice

I use Net::LDAP on iPlanet without problems.

use strict; use Net::LDAP; my $ldap = Net::LDAP->new('hostname') or die "$@"; $ldap->bind( "cn=Directory Manager", password => "..."); my $root = $ldap->root_dse(); $root->dump;

I think cn=Directory Manager is standard, at least it is in my environment... but I don't get out much. YMMV.

--Solo

--
I think my eyes are getting better. Instead of a big dark blur, I see a big light blur.

Replies are listed 'Best First'.
Re: Re: LDAP modules/advice
by jlongino (Parson) on Apr 18, 2003 at 22:04 UTC
    Thanks for the example. It worked minus the password requirement and returned results (even though it is empty).

    --Jim