![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: How do you check a 'bind' in LDAP?by hgolden (Pilgrim) |
on Sep 18, 2006 at 12:36 UTC ( [id://573536]=note: print w/replies, xml ) | Need Help?? |
Hey The object will hold the error code if there is one, so you can check it. Here's an excerpt from the FAQ: http://ldap.perl.org/FAQ.html "Most methods in Net::LDAP return a Net::LDAP::Message object, or a sub-class of that. This object will hold the results from the server, including the result code. So, for example, to determine the result of the bind operation. " Hope this helps, Hays
In Section
Seekers of Perl Wisdom
|
|