From: Mark W. <mew...@un...> - 2000-06-09 03:14:48
|
No that's not true (or at least shouldn't be, I haven't tested this in Net::LDAP v .19 to make sure it wasn't broken). You should get error code 49. How are you checking, this is how the code should look: my $mesg = $ldap->bind($dn, password=>"password"); die ("failed to bind ",$mesg->code(),"\n") if $mesg->code(); mark Yann Ramin wrote: > Hi, > > I've noticed that no error code is returned when a bind operation uses > invalid credentials. ? How can I test if a bind was successful or > not? This is my main LDAP authentication scheme :) > > Yann > > -- > > -------------------------------------------------------------------- > Yann Ramin at...@at... > Atrus Trivalie Productions www.atrustrivalie.eu.org > irm.it.montereyhigh.com > Monterey High IT www.montereyhigh.com > ICQ 46805627 > AIM oddatrus > Marina, CA > > "All cats die. Socrates is dead. Therefore Socrates is a cat." > - The Logician > > # fortune > "To be responsive at this time, though I will simply say, and therefore > this is a repeat of what I said previously, that which I am unable to > offer in response is based on information available to make no such > statement." > -------------------------------------------------------------------- |