On Mar 4, 2008, at 6:30 AM, Tobias Franzén wrote: > Scratch the bug part and see this as a feature request.
I'm sure feature requests are welcome. You can post one here: <http://sourceforge.net/tracker/?group_id=170747&atid=855394> > Passing the kerberos error codes to error_message() when using Heimdal > is probably always returning "Unknown error" plus the error code. > I tried changing the error_message(kerror) after > krb5_get_init_creds_password(...) in cgi/login.c to > krb5_get_error_message(kcontext, kerror) for Heimdal, and it worked. I > doubt it is compatible with MIT KRB5 though. A patch would be pretty quick work. You'd define a macro called, say, cosign_krb5_error_message, which does the appropriate thing depending on which API you're building against. You'd then replace all instances of "error_message" with "cosign_krb5_error_message". I count a dozen or so instances of error_message, all in cgi/login.c. > Here is an interesting patch for NFS I'd much rather see an interesting patch for cosign. :) andrew ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cosign-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cosign-discuss
