Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Warrick FitzGerald
April 14, 2005, 9:22 pm
rate this thread
I have created a user in OpenLDAP which has a password set.
I'd like to bind to the LDAP server as this user using Net::LDAP, but
I'm having some problems figuring out if my bind was sucessful or not.
$ldap = Net::LDAP->new( '10.10.40.40' );
# bind to a directory with dn and password
$mesg = $ldap->bind( 'uid=sporter,ou=People,dc=livetechnology,dc=com',
password => 'xxxxx'
but I get this response no matter what password I use ....
How can I tell if this is working or not? All I really want to see is if
this username and password combination works.
- » FAQ 1.2 Who supports Perl? Who develops it? Why is it free?
- — Previous thread in » PERL Discussions