On Feb 22, 2006, at 2:24 PM, Achim Grolms wrote:
On Wednesday 22 February 2006 09:22, Peter Marschall wrote:
Hi,
On Tuesday, 21. February 2006 19:55, Achim Grolms wrote:
Is there an easy way to export the actual version of
Authen::SASL::Perl
you want me to test?
svn export https://svn.mutatus.co.uk/repos/Authen-SASL/trunk/
I've done some persnonal adjusments to the GSSAPI.pm module
(See attached diff).
DO NOT FEED THAT INTO SVN,
it's juts a base for discussion.
But it worked :-)
Questions:
1. I there a canonical way in Authen::SASL to printout debugmessages?
(I've added sub __debug_message(), but I think there is a better
way :-D)
Um, currently no. But we could add a debug callback for the user to
pass a sub ref that would get called for debug messages.
I needed that to see the states og the module.
2. the GSSAPI system can fail and reports errormessages
(caused by DNS problems, wrong /etc/hosts, credentials expired)...
All this errormessaged has to be passed to the user so he gets a
chance to fix
that problems (typing kinit etc...)
When useing the
return $self->set_error("GSSAPI Error : ".$status);
Currently this just sets a property on the object that is returned
from ->new_client, but as that is all kept inside Net::LDAP. We could
add an error method to Authen::SASL which returned the last error
from the client object
Graham.
I see no errormessage, so I make the module simple die
in case of GSSAPI error.
(That was the simplest for debugging).
But what is the ebst way for errorreporting in a CPAN version of
the module?
Thank you,
Achim
<GSSAPI.pm>
<GSSAPI.pm.diff>