Wouter Verhelst <[EMAIL PROTECTED]> writes:
> 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.
I'm not sure that there's enough information here to figure out what's
wrong. You're getting a broken pipe error when writing to your LDAP
server, which appears to be sensitive to what SASL implementation you're
using. What does the LDAP server say? Does strace show the broken pipe
error? What is the client trying to send to the server when it gets the
broken pipe?
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]