--On Friday, June 11, 2004 8:50 AM +0100 Chris Ridd <[EMAIL PROTECTED]> wrote:

I should note that I patched bind's handling of DNs with SASL back in
February, so check you're running the patched version:

Modified: trunk/lib/Net/LDAP.pm
===================================================================
--- trunk/lib/Net/LDAP.pm    2004-02-17 15:51:31 UTC (rev 389)
+++ trunk/lib/Net/LDAP.pm    2004-02-17 21:24:23 UTC (rev 390)
@@ -328,10 +328,6 @@
       if $ldap->{net_ldap_version} < 3;

     my $sasl = $passwd;
-    # Tell the SASL object our user identifier
-    $sasl->callback( user => "dn: $stash{name}")
-      unless $sasl->callback('user');
-
     my $sasl_conn = $sasl->client_new("ldap",$ldap->{net_ldap_host});

# Tell SASL the local and server IP addresses

Bing, that fixed it!

Thanks!

Is there going to be a release of perl-ldap-0.32 anytime soon then? I'm running 0.31, but that was last released in January.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

Reply via email to