On Wed, Sep 8, 2010 at 12:54 PM, Dieter Kluenter <die...@dkluenter.de> wrote: > Mathieu Parent <math.par...@gmail.com> writes: > >> On Mon, Sep 6, 2010 at 10:48 PM, Dieter Kluenter <die...@dkluenter.de> wrote: >>> Hi, >>> after updating Authen::SASL to version 2.15 and Net::LDAP to version >>> 0.4001, running http://pastebin.de/9737 >>> I get following warnings >>> >>> Use of uninitialized value in numeric gt (>) at >>> /usr/lib/perl5/site_perl/5.10.0/Authen/SASL/Perl.pm line 179, >>> and >>> Useless use of hash element in void context at >>> /usr/lib/perl5/site_perl/5.10.0/Net/LDAP/Intermediate/SyncInfo.pm >>> line 59, >> Hm, this is beyong my perl knowledge. >> >> Does doing a simple search works (without SyncRequest)? > > yes, a normal search without SyncRequest but with simple bind and > start_tls work without warnings. > >> >> Does removing line 61 of Net/LDAP/Intermediate/SyncInfo.pm >> ($self->{asn}{cookie};) suppress the second warning? > > OK, removing this line supressed the second warming.
And do you still have the second warning without start_tls but with syncRequest? (add again line 61). If not, this is really strange... and should be investigated further. Possibly syncrequest corrupts TLS data. Can you set debug to 3 and attach the code and log for the following scenarii? - simple search without TLS - syncRepl search without TLS - simple search with TLS - syncRepl search with TLS Thanks Mathieu Parent