Quanah Gibson-Mount <qua...@zimbra.com> writes:

> --On Monday, January 19, 2009 12:41 PM +0100 Dieter Kluenter
> <die...@dkluenter.de> 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:
die...@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

Reply via email to