Re: strong bind fails

"Dieter Kluenter" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
Quanah Gibson-Mount <[email protected]> writes:

> --On Monday, January 19, 2009 12:41 PM +0100 Dieter Kluenter
> <[email protected]> wrote:
>
>
>> I tried starttls and EXTERNAL mechanism
>>
>> ,----[ start_tls ]
>>| my $ldap = Net::LDAP->new("$host",
>>|                          async => 1,
>>|                          version => 3,
>>|                         debug => 8
>>|         ) or die "$@";
>
>
> Have you tried not using async operations first?  I found with async I
> had to put in sleep's between the new, bind, and search operations.

Yes I did, but with no avail. I have modified the error handling now

$msg = $ldap->bind(  sasl => $sasl);
if ( $msg->code ) { print "Fehler: "."$msg \n" };

which gives now fowllowing results:
dieter@rubin:% perl sasl-suche-liste.pl
 Fehler: Net::LDAP::Bind=HASH(0xc08260) 
Fehlermeldung: 32:The server cannot find an object specified in the request

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dpunkt.de/buecher/2104.html
sip: +49.180.1555.7770535
GPG Key ID:8EF7B6C6
53°08'09,95"N
10°08'02,42"E
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.