--On Thursday, July 08, 2004 5:43 PM -0700 Larry Lile <[EMAIL PROTECTED]> wrote:
CPAN: Use of uninitialized value in print at /opt/perl/lib/site_perl/5.8.4/i686-linux/Authen/SASL/Cyrus/Security.pm line 99, <DATA> line 283. [ ... hang ... ]
Patrick's version: Use of uninitialized value in print at /opt/perl/lib/site_perl/5.8.4/i686-linux/Authen/SASL/Cyrus/Security.pm line 81, <DATA> line 283. [ ... hang ...]
Which apears to be an encoding failure
sub WRITE { my($ref,$string,$len) = @_; my($fh, $clearbuf, $cryptbuf);
$fh = $ref->{fh}; $clearbuf = substr($string, 0, $len); $cryptbuf = $ref->{conn}->encode($clearbuf); print $fh $cryptbuf; }
Which is the same in both code sets.
1) Make sure you have nothing commented out in Net::LDAP. ;)
2) What version of SASL are you using? I saw a problem like this when I didn't have Cyrus-SASL 2.2.18 everywhere.
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
