Re: Authen::SASL and Net::LDAP::LDAPI

Graham Barr <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
On Nov 13, 2009, at 11:57 AM, Kartik Subbarao wrote:
> I downloaded the next branch and tried this, but the code seems to hang indefinitely (the debugger complains about 99 levels deep in subroutine calls, probably some infinite recursion).
> 
> Here's the code that I'm using:
> 
> use Net::LDAP;
> use Net::LDAPI;
> use Authen::SASL;
> 
> $ldap = Net::LDAP->new('ldapi://');
> $sasl = Authen::SASL->new(mechanism => 'EXTERNAL');
> $sasl_client = $sasl->client_new('ldap', 'localhost');
> $ldap->bind(undef, sasl => $sasl_client);

I do not think the passing of client_new causes this, so perhaps there is a different issue at hand.

Do you know where the recursion is happening ?

Graham.
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.