SASL mechanism ignored in bind_s?

Bug #670207 reported by Tim Moorhouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnet-ldapapi-perl (Ubuntu)
Fix Released
Undecided
Unassigned

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/LDAPapi.pm, in the bind_s() function, I changed:

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

to:

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

then everything seems to work as expected.

Revision history for this message
Russ Allbery (rra-debian) wrote :

Very belatedly, this was fixed in 3.0.4-1.

Changed in libnet-ldapapi-perl (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.