SASL mechanism ignored in bind_s?

Bug #670207 reported by Tim Moorhouse on 2010-11-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnet-ldapapi-perl (Ubuntu)

Bug Description

Binary package hint: libnet-ldapapi-perl

I was trying to do something like:
   $ldap = new Net::LDAPapi(-url => "ldapi:///");
   $ldap->sasl_parms(-mech => 'EXTERNAL');
   $ldap->bind_s(-dn => 'cn=config', -type => LDAP_AUTH_SASL);

... and it looks like the mechanism passed to sasl_parms() is ignored when actually doing the bind_s(). If, however, in /usr/lib/perl5/Net/, in the bind_s() function, I changed:

      ldap_sasl_interactive_bind_s(......, $saslmech, .....);


      ldap_sasl_interactive_bind_s(......, $self->{"saslmech"}, .....);

then everything seems to work as expected.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers