Re: strong bind fails

2009-01-20 Thread Dieter Kluenter
Quanah Gibson-Mount writes: > --On Monday, January 19, 2009 12:41 PM +0100 Dieter Kluenter > wrote: > > >> I tried starttls and EXTERNAL mechanism >> >> ,[ start_tls ] >>| my $ldap = Net::LDAP->new("$host", >>| async => 1, >>| version => 3, >

Re: strong bind fails

2009-01-19 Thread Quanah Gibson-Mount
--On Monday, January 19, 2009 12:41 PM +0100 Dieter Kluenter wrote: I tried starttls and EXTERNAL mechanism ,[ start_tls ] | my $ldap = Net::LDAP->new("$host", | async => 1, | version => 3, | debug => 8 | )

Re: strong bind fails

2009-01-19 Thread Dieter Kluenter
Graham Barr writes: > On Jan 18, 2009, at 8:37 AM, Dieter Kluenter wrote: > > >> >> OK, this is my complete script, >> >> ,[ searchList.pl ] > >> >> | $msg = $ldap->bind(sasl => $sasl); >> | $msg->code && $msg->error_text; > > Again, you are not checking the bind call for any failure I check

Re: strong bind fails

2009-01-18 Thread Graham Barr
On Jan 18, 2009, at 8:37 AM, Dieter Kluenter wrote: OK, this is my complete script, ,[ searchList.pl ] | $msg = $ldap->bind(sasl => $sasl); | $msg->code && $msg->error_text; Again, you are not checking the bind call for any failure Graham.

Re: strong bind fails

2009-01-18 Thread Dieter Kluenter
Graham Barr writes: > On Jan 17, 2009, at 10:01 AM, Dieter Kluenter wrote: >> Hi, >> I'am using >> perl-5.10.0 >> Net::LDAP version 0.39 >> Authen::SASL version 2.12 > > You do not say how far your script gets, but if bind fails that is not > going to tell you. did you mean $msg->code && die $ms

Re: strong bind fails

2009-01-18 Thread Graham Barr
On Jan 17, 2009, at 10:01 AM, Dieter Kluenter wrote: Hi, I'am using perl-5.10.0 Net::LDAP version 0.39 Authen::SASL version 2.12 My script does not initiate a strong bind, while a strong bind with ldapsearch succeeds, what is wrong with my script? Or with perl-5.10, as am not sure but I think th

strong bind fails

2009-01-17 Thread Dieter Kluenter
Hi, I'am using perl-5.10.0 Net::LDAP version 0.39 Authen::SASL version 2.12 My script does not initiate a strong bind, while a strong bind with ldapsearch succeeds, what is wrong with my script? Or with perl-5.10, as am not sure but I think this script has been working with perl-5.8 My script: ,-