#endif /* KRB5 */
#ifdef GSI
-#include <globus_gss_assist.h>
+#include "globus_gss_assist_gsi.h"
/*
* Check if this user is OK to login under GSI. User has been authenticated
ssh_gssapi_storecreds()
{
switch (gssapi_client_type) {
-#ifdef KRB5
- case GSS_KERBEROS:
- ssh_gssapi_krb5_storecreds();
- break;
-#endif
#ifdef GSI
case GSS_GSI:
ssh_gssapi_gsi_storecreds();
break;
#endif /* GSI */
+#ifdef KRB5
+ case GSS_KERBEROS:
+ ssh_gssapi_krb5_storecreds();
+ break;
+#endif
case GSS_LAST_ENTRY:
/* GSSAPI not used in this authentication */
debug("No GSSAPI credentials stored");
if (GSS_ERROR(maj_status)) {
/* Failure <sniff> */
+ ssh_gssapi_send_error(maj_status,min_status);
authctxt->postponed = 0;
dispatch_set(SSH_MSG_AUTH_GSSAPI_TOKEN, NULL);
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL);