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 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. If you do so - let me know, I can change the code to use it. > > 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 Does that mean the user of Net::LDAP sees the errormessges then? this ist important, because only the errormessages from the (C-)GSSAPI libs can help the user to detect his problems! Thank you, Achim