Bug#486698: Authen::SASL::Cyrus produces bogus SIGPIPE
Wouter Verhelst
wouter at debian.org
Tue Jun 17 18:47:59 UTC 2008
Package: libauthen-sasl-cyrus-perl
Version: 0.13-server-3+b1
Severity: important
Hi,
The following script:
use Net::LDAP;
use Authen::SASL qw(Cyrus);
$SIG{'PIPE'} = 'IGNORE';
$ldap = Net::LDAP->new('ldap://samba.grep.be/') or die $!;
$sasl = Authen::SASL->new(mech => "GSSAPI");
$ldap->bind('uid=wouter,ou=People,dc=grep,dc=be', sasl => $sasl);
$res = $ldap->search(base => 'ou=People,dc=grep,dc=be', filter => "(&(objectClass=posixUser)(uid=wouter))");
$res->code && die $res->error;
print "success\n";
fails with
Broken pipe at test.pl line 8, <DATA> line 253.
If I change qw(Cyrus) to qw(Perl), everything works perfectly.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.25-2-powerpc
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libauthen-sasl-cyrus-perl depends on:
ii libauthen-sasl-perl 2.11-1 Authen::SASL - SASL Authentication
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libsasl2-2 2.1.22.dfsg1-21 Cyrus SASL - authentication abstra
ii perl 5.10.0-10 Larry Wall's Practical Extraction
ii perl-base [perlapi-5.10. 5.10.0-10 The Pathologically Eclectic Rubbis
libauthen-sasl-cyrus-perl recommends no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list