Re: bind() and SASL authentication via GSSAPI

2006-02-23 Thread Achim Grolms
On Thursday 23 February 2006 01:17, Graham Barr wrote: > On Feb 22, 2006, at 2:24 PM, Achim Grolms wrote: > > On Wednesday 22 February 2006 09:22, Peter Marschall wrote: > > 1. I there a canonical way in Authen::SASL to printout debugmessages? > > (I've added sub __debug_message(), but I think the

Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Achim Grolms
OK, i have done some changes on the Authen::SASL::Perl::GSSAPI To do: 1. Let me know how to implement proper error reporting (or replace the dies by what you think is better) 2. Let me know how to implement proper debugging messages (or go to __debug_message and fill in what you think is b

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Simon Wilkinson
Achim, I'm having some trouble understanding the requirements for these changes. Some of this may be because of changes you've made to the GSSAPI.pm perl module, since Phillip Guenther released version 0.13 in 2005. Also, there seem to be a lot of purely formatting changes, which make it harder t

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Achim Grolms
On Thursday 23 February 2006 21:40, Simon Wilkinson wrote: > Achim, > > I'm having some trouble understanding the requirements for these > changes. That's my fault because I have sent my personal working copy. Please don't feel offended by me, I have sent my code just as a base of discussion. Ple

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Graham Barr
On Feb 23, 2006, at 4:41 PM, Achim Grolms wrote: On Thursday 23 February 2006 21:40, Simon Wilkinson wrote: Achim, I'm having some trouble understanding the requirements for these changes. Simon has a better handle on GSSAPI than I, so I will leave most decisions to him. Also, there seem

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Achim Grolms
On Friday 24 February 2006 01:06, Graham Barr wrote: > > GSSAPI::Name->import( target, > > principal, > > gss_nt_service_name ) > > Calling import directly does not seem a good thing to do to me. Why?

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Achim Grolms
On Friday 24 February 2006 01:06, Graham Barr wrote: > > GSSAPI::Name->import( $target, > > principal, > > gss_nt_service_name ) > > Calling import directly does not seem a good thing to do to me. Can > someone explain why we are doing that ? That's the

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Graham Barr
On Feb 23, 2006, at 6:43 PM, Achim Grolms wrote: On Friday 24 February 2006 01:06, Graham Barr wrote: GSSAPI::Name->import( $target, principal, gss_nt_service_name ) Calling import directly does not seem a good thing to do to me. Can someone expla

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Achim Grolms
On Friday 24 February 2006 01:57, you wrote: > On Feb 23, 2006, at 6:43 PM, Achim Grolms wrote: > > On Friday 24 February 2006 01:06, Graham Barr wrote: > >>> GSSAPI::Name->import( $target, > >>> principal, > >>> gss_nt_service_name ) > >> > >> Calling im

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Graham Barr
On Feb 23, 2006, at 7:07 PM, Achim Grolms wrote: A sub called import has a purpose in perl, namely for importing into the current namespace. And perl will call it for use. What does this mean? What is the worst thing that can happen on what conditions? I did not say it was a problem, I said

Re: Authen::SASL::Perl::GSSAPI

2006-02-23 Thread Achim Grolms
On Friday 24 February 2006 02:19, Graham Barr wrote: > No, because a perl programmer might be surprised by the use of what > is normally a special function name. And any code should aim to > create a little confusion as possible, hence the suggestion of a > comment. OK. 1. Tomorrow I will send a