Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Suggestions regarding Authen-SASL & libnet

Newsgroups: perl.ldap
Path: g2news2.google.com!news2.google.com!news3.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <ac...@grolmsnet.de>
Mailing-List: contact perl-ldap-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl-l...@perl.org
Received: (qmail 2795 invoked from network); 28 Aug 2006 19:25:54 -0000
Received: from x1a.develooper.com (HELO x1.develooper.com) (216.52.237.111)
  by lists.develooper.com with SMTP; 28 Aug 2006 19:25:54 -0000
Received: (qmail 27680 invoked by uid 225); 28 Aug 2006 19:25:54 -0000
Delivered-To: perl-l...@perl.org
Received: (qmail 27667 invoked by alias); 28 Aug 2006 19:25:53 -0000
X-Spam-Status: No, hits=-2.5 required=8.0
	tests=BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: la.mx.develooper.com
Received-SPF: pass (x1.develooper.com: domain of ac...@grolmsnet.de designates 80.67.18.14 as permitted sender)
Received: from smtprelay02.ispgateway.de (HELO smtprelay02.ispgateway.de) (80.67.18.14)
    by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 28 Aug 2006 12:25:44 -0700
Received: (qmail 21732 invoked from network); 28 Aug 2006 19:25:34 -0000
Received: from unknown (HELO thor.grolmsnet.de) ([pbs]690736@[217.229.93.166])
          (envelope-sender <ac...@grolmsnet.de>)
          by smtprelay02.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP
          for <juer...@jherz.redirectme.net>; 28 Aug 2006 19:25:34 -0000
Reply-To: ac...@grolmsnet.de
To: =?iso-8859-1?q?J=FCrgen_Herz?= <juer...@jherz.redirectme.net>
Subject: Re: Suggestions regarding Authen-SASL & libnet
Date: Mon, 28 Aug 2006 21:25:29 +0200
User-Agent: KMail/1.9.1
Cc: perl-l...@perl.org,
 Graham Barr <gb...@pobox.com>
References: <44F31FCC.9000109@jherz.redirectme.net>
In-Reply-To: <44F31FCC.9000109@jherz.redirectme.net>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-ID: <200608282125.32366.achim@grolmsnet.de>
Approved: n...@nntp.perl.org
From: ac...@grolmsnet.de (Achim Grolms)

On Monday 28 August 2006 18:54, J=FCrgen Herz wrote:

>   my $mechanisms =3D $capa->{SASL};
>   return () unless $mechanisms;
> instead would still work the same for users but save the try.

Graham says:
"The reason it tries CRAM-MD5 i because there were servers
out there that would accept it but did not publish it in capa. If
there server does not support it then it will return an error when
you try."
The change you suggest breaks interoperability to servers of that kind.
If the user want to check the servers capability he can use
exists $capa->{'SASL'} as described in
<http://perl.grolmsnet.de/authensasl/> and terminate to avoid the try.

> auth () in Net::POP3 would need a
>   return () unless $client;
> added between
>   my $client =3D $sasl->client_new('pop3',${*$self}{'net_pop3_host'},0);

What version of Net::POP3 have you used?
The actual version in repository is available at
<http://svn.goingon.net/repos/libnet/trunk/Net/POP3.pm>
(hopefully becoming 2.29, I hope Graham will bring it to CPAN).
Are you willing to discuss Net::POP3 based on that version?

Thank you,
Achim