Newsgroups: perl.ldap
From: gb...@pobox.com (Graham Barr)
Date: Thu, 11 Feb 2010 09:43:41 -0600
Local: Thurs, Feb 11 2010 10:43 am
Subject: Re: Authen::SASL 2.13 infinite loop bug (resend?)
On Feb 11, 2010, at 9:10 AM, Forrest Cahoon wrote:
> I sent this to the list yesterday, but I never saw it show up in the I did not see it yesterday. > archives. Now I've subscribed and am resending to see if that works. > Sorry if this is a duplicate. > I'm porting some code from our old system to a new one, and I I suspect this was caused by this change > encountered this bug with Authen::SASL 2.13 which was resolved by > downgrading to 2.12. http://github.com/gbarr/perl-authen-sasl/commit/c636a0603732b031d9274... I do not know much about EXTERNAL, but what happens if we revert client_step to what it was ? Can you also turn on debug with $ldap->debug(15); so we can see what responses the server Graham. > I'm afraid I don't know that much about SASL (or LDAP), but I did cut > Here's my code (with some names changed to protect the innocent): > use strict; > my $ldap = Net::LDAP->new( > die "no Net::LDAP: $!\n" unless $ldap; > my $sasl = Authen::SASL->new( > alarm(10); # for Devel::SimpleTrace > my $result = $ldap->bind( "sn=msiScripts,dc=DTC", sasl => $sasl ); > if ( $result->code ) { > print "success!\n"; > __END__ > Using Authen::SASL 2.13, running this code with -wMDevel::SimpleTrace > Deep recursion on subroutine "Net::LDAP::_sendmesg" > [ ... many, many, many, many, many iterations of the same loop omitted ... ] > at Net::LDAP::Bind::decode(/usr/local/lib/perl5/site_perl/5.10.1/Net/LDAP/Bind .pm:64) > When I downgraded to Authen::SASL 2.12, I got a "success!" message > Use of uninitialized value in numeric gt (>) > Perhaps the changes in 2.13 included a bad fix for the nonfatal error > Forrest Cahoon You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||