Re: GSSAPI programming help

2006-05-18 Thread Achim Grolms
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

RE: GSSAPI programming help

2006-05-18 Thread Don C. Miller
Achim, or anyone, have you been able to get GSSAPI to work using activestate perl on a windows system? What requirements are there? Thanks, Don -Original Message- From: Achim Grolms [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 11:52 AM To: Dennis Putnam; Graham Barr Cc: perl-l

Re: GSSAPI programming help

2006-05-18 Thread Achim Grolms
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

Re: GSSAPI programming help

2006-05-18 Thread Achim Grolms
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

Re: GSSAPI programming help

2006-05-18 Thread Achim Grolms
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

Re: GSSAPI programming help

2006-05-18 Thread Graham Barr
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

Re: GSSAPI programming help

2006-05-18 Thread Achim Grolms
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

Re: GSSAPI programming help

2006-05-18 Thread Achim Grolms
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

Re: GSSAPI programming help

2006-05-18 Thread Achim Grolms
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

Re: LDAP_DECODING_ERROR:C on SSL connection after anumber of pages

2006-05-18 Thread Graham Barr
On Thu, May 18, 2006 12:18 pm, Chris Ridd wrote: > On 15/5/06 3:26, Si Smith <[EMAIL PROTECTED]> wrote: > >> As I mentioned in a slightly earlier email, I am using the control >> Net::LDAP::Control::Paged > > I wasn't sure if you were using paged results or VLV. > >> So instead of starting "30 84

Re: GSSAPI programming help

2006-05-18 Thread Graham Barr
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

Re: LDAP_DECODING_ERROR:C on SSL connection after anumber of pages

2006-05-18 Thread Chris Ridd
On 15/5/06 3:26, Si Smith <[EMAIL PROTECTED]> wrote: > As I mentioned in a slightly earlier email, I am using the control > Net::LDAP::Control::Paged I wasn't sure if you were using paged results or VLV. > I have just noticed a difference in the debug output for the last > record decoded: > > A

Re: GSSAPI programming help

2006-05-18 Thread Dennis Putnam
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

Re: GSSAPI programming help

2006-05-18 Thread Quanah Gibson-Mount
--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

GSSAPI programming help

2006-05-18 Thread Dennis Putnam
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 to me what I really need to pass in the 'auth' method so I suspect that is the crux o