On Wed, Jun 10, 2009 at 1:53 PM, Graham Barr<gb...@pobox.com> wrote:
>
> On Jun 10, 2009, at 3:34 PM, Bryan Irvine wrote:
>
>> On Wed, Jun 10, 2009 at 1:15 PM, Graham Barr<gb...@pobox.com> wrote:
>>>
>>> On Jun 10, 2009, at 3:07 PM, Bryan Irvine wrote:
>>>
>>>> That's my problem then.
>>>>
>>>> Is there a way to check for bind failure?
>>>
>>> Yes, see Net::LDAP::Message and Net::LDAP::Constant docs
>>>
>>> the bind will fail, but the server will allow requests to continue as if
>>> the
>>> bind had not happened. ie it will treat the connection as anonymous
>>>
>>> Graham.
>>>
>>
>> Am I missing something really obvious?
>>
>> PERL code:
>> my $errorMsg = $ldaps->bind ( "cn=crappy code" ) ;
>
> you did not pass any options, so that is an anonymous bind.
>
> try passing password => $password


/facepalm  Everyone look away from me!!!  ;-)

Reply via email to