On Thursday 18 May 2006 18:14, Quanah Gibson-Mount wrote:
> --On Thursday, May 18, 2006 7:27 AM -0400 Dennis Putnam
>
> <[EMAIL PROTECTED]> wrote:
[...Net::POP3...]
> I was able to use Authen::SASL to do GSSAPI authentication via finger &
> whois, using the Authen-SASL-GSSAPI-server package.
Net
On Mon, May 22, 2006 3:12 pm, Achim Grolms wrote:
> On Monday 22 May 2006 22:08, Graham Barr wrote:
>> On Mon, May 22, 2006 1:27 pm, Achim Grolms wrote:
>> > On Monday 22 May 2006 19:50, Dennis Putnam wrote:
>> >> Doesn't work. Nothing is in '$!' but the POP log says "badlogin".
>> >
>> > Try if th
On Monday 22 May 2006 22:08, Graham Barr wrote:
> On Mon, May 22, 2006 1:27 pm, Achim Grolms wrote:
> > On Monday 22 May 2006 19:50, Dennis Putnam wrote:
> >> Doesn't work. Nothing is in '$!' but the POP log says "badlogin".
> >
> > Try if this works:
>
> I would not expect it to, as-is. The struc
On Mon, May 22, 2006 1:27 pm, Achim Grolms wrote:
> On Monday 22 May 2006 19:50, Dennis Putnam wrote:
>> Doesn't work. Nothing is in '$!' but the POP log says "badlogin".
>
> Try if this works:
I would not expect it to, as-is. The structure is right, but it needs
authentication details to be adde
On Monday 22 May 2006 20:50, you wrote:
> Thanks. No joy. The error is:
Dennis,
I have attached an example with more debugging output.
Please test and send back output.
Achim
#--usage example--
use strict;
use Authen::SASL 2.10;
use Net::POP3 2.28;
#Adjust to your environ
On Monday 22 May 2006 19:50, Dennis Putnam wrote:
> Doesn't work. Nothing is in '$!' but the POP log says "badlogin".
Try if this works:
#--usage example--
use strict;
use Authen::SASL 2.10 qw(Perl);
use Net::POP3;
my $pop3host = 'pop3host';
my $sasl = Authen::SASL->new( mechan
Doesn't work. Nothing is in '$!' but the POP log says "badlogin".
Note that this is OS X Server (10.4.6), if that matters.
On May 22, 2006, at 1:22 PM, Achim Grolms wrote:
On Monday 22 May 2006 19:05, you wrote:
Did Graham or anyone ever post an answer to this question?
Yes, Graham and anyo
On Monday 22 May 2006 19:05, you wrote:
> Did Graham or anyone ever post an answer to this question?
Yes, Graham and anyone answered on Thursday.
Me wrote on
Thursday 22:07:08
If the Net::POP3 auth() method accepts
a SASL object this should work:
#--usage example--
use Authe
Did Graham or anyone ever post an answer to this question? I am still
stuck trying to figure out how to get the SASL object to the POP
authentication.
On May 18, 2006, at 2:51 PM, Achim Grolms wrote:
On Thursday 18 May 2006 13:27, Dennis Putnam wrote:
I was told some of you folks are worki
On Thursday 18 May 2006 23:10, Don C. Miller wrote:
> Achim, or anyone, have you been able to get GSSAPI to work using
> activestate perl on a windows system? What requirements are there?
The core GSSAPI module is writte in XS.
That means you need the C-compiler the AS Perl
was build with do buil
-ldap@perl.org
Subject: Re: GSSAPI programming help
On Thursday 18 May 2006 13:27, Dennis Putnam wrote:
> I was told some of you folks are working with Kerberos auth using
> GSSAPI. I am trying to do the same thing with POP rather then LDAP
Using Authen::SASL as a programmer means
1. cr
If the Net::POP3 auth() method accepts
a SASL object this should work:
#--usage example--
use Authen::SASL 2.10;
use Net::POP3;
my $sasl = Authen::SASL->new( mechanism => 'GSSAPI' );
$pop = Net::POP3->new('pop3host');
$pop->auth($sasl);
my $msgnums = $pop->list; # hashref
On Thursday 18 May 2006 21:58, Achim Grolms wrote:
> if (ref($username) and UNIVERSAL::isa($username,'Authen::SASL')) {
> $sasl = $username;
> $sasl->mechanism($mechanisms);
Yes, and that's the part of the code that accepts the SASL object.
Stupid me.
I am sorry!
Achim
On Thursday 18 May 2006 21:52, Graham Barr wrote:
> $pop3->auth($sasl); should work. Maybe the docs need updating.
I'm reading the sources of Net::POP3 2.28 (actual CPAN version).
The Code is
#--
sub auth {
my ($self, $username, $passwo
On Thu, May 18, 2006 2:10 pm, Achim Grolms wrote:
> On Thursday 18 May 2006 19:58, Graham Barr wrote:
>> On Thu, May 18, 2006 11:14 am, Quanah Gibson-Mount wrote:
>
>> What you show below is basically what most modules, eg Net::POP3 and
>> Net::LDAP, do behind the scenes.
>>
>> I think the question
On Thursday 18 May 2006 21:10, Achim Grolms wrote:
> How can that "use the sasl-objetcs interface only" be done with
> Net::POP3?
I have no GSSAPI enabeled POP3 Server to test, but my idea is to add
a authsasl() method to Net::POP3 that accepts the Authen::SASL object.
Does that work? I have no c
On Thursday 18 May 2006 19:58, Graham Barr wrote:
> On Thu, May 18, 2006 11:14 am, Quanah Gibson-Mount wrote:
> What you show below is basically what most modules, eg Net::POP3 and
> Net::LDAP, do behind the scenes.
>
> I think the question that Dennis needs answered is what to use as callback
> v
On Thursday 18 May 2006 13:27, Dennis Putnam wrote:
> I was told some of you folks are working with Kerberos auth using
> GSSAPI. I am trying to do the same thing with POP rather then LDAP
Using Authen::SASL as a programmer means
1. create a Authen::SASL object
my $sasl = Authen::SASL->new( mech
On Thu, May 18, 2006 11:14 am, Quanah Gibson-Mount wrote:
>
> I was able to use Authen::SASL to do GSSAPI authentication via finger &
> whois, using the Authen-SASL-GSSAPI-server package.
What you show below is basically what most modules, eg Net::POP3 and
Net::LDAP, do behind the scenes.
I thin
Ouch! Thanks for the reply. I am a perl novice so it will take a
while for me to understand it all. However, this is a lot more
complex then I was lead to believe. I thought most of what you are
doing was done behind the scenes automagically when I created the
SASL object.
On May 18, 2006
--On Thursday, May 18, 2006 7:27 AM -0400 Dennis Putnam
<[EMAIL PROTECTED]> wrote:
I was told some of you folks are working with Kerberos auth using
GSSAPI. I am trying to do the same thing with POP rather then LDAP and I
am hoping someone here might be able to help me. It is not obvious t
21 matches
Mail list logo