Hi,
when the module finds a GSS error, it typically issues error HTTP 401, and the cause of the error is logged using gss_display_status. It might be useful to export this value into an environment variable (such as the GSS_NAME_ATTR_ERR one), in such a way that the Web server might show it to the user.