From: Mark W. <mew...@un...> - 2000-08-15 19:00:52
|
If the password is bad, it will return an error code of 49 "BAD Credentials": my $mesg =$ldap->bind(...); die ("failed to bind with ",$mesg->code(),"\n") if $mesg->code(); will always fail unless successful bind. under .20, it will also auto-catch blank passwords (which would force anonymous bind). Mark On Tue, 15 Aug 2000, Joshua Lavalleur wrote: > When I try to perform an authenticated bind to the server how can I get it > to die if the user name or password is bad instead of going anonymous? > > -Josh > > |