SyncRequest and SASL

[email protected] ("Dieter Kluenter")
Newsgroups perl.ldap
Message-ID <[email protected]>
Hi,
based  on
http://www.nntp.perl.org/group/perl.ldap/2009/12/msg3223.html
I extended this script to startTLS and SASL, but when trying a sasl
bind I get following error:
Communication Error: disconnecting at /perlscripts/syncRequestTest-M.P.pl line 137
Line 137 is:

 elsif($message->code) {
    if ($message->code == 1) {
  die "Communication Error: disconnecting";
 }

While a simple bind and a startTLS based sasl EXTERNAL are successful.

The complete script with SASL Digest-MD5 can be found here:
http://pastebin.de/9747
with SASL EXTERNAL enabled here:
http://pastebin.de/9737

-Dieter

-- 
Dieter Klünter | Systemberatung
sip: [email protected] 
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6
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.