From: Graham B. <gb...@po...> - 2002-11-01 16:10:38
|
On Fri, Nov 01, 2002 at 09:40:33AM -0600, Capacio, Paula J wrote: > Hi, > What's the best way to see if the BIND was successful? > I coded... > $ldapAsME->bind( dn => $entry, password => $myPWD) or die "$@"; > ###I'm not dying when I pass a bad PWD....why ??? Because your code is wrong. ->bind does not return a true/false result. All methods return a message object which you must use to determine sucess by looking at the code. http://search.cpan.org/author/GBARR/perl-ldap-0.26/lib/Net/LDAP.pod#METHODS Graham. |