version 1.1.1.3, 2011/09/06 20:16:53 |
version 1.1.1.4, 2013/03/29 14:52:39 |
|
|
/* $OpenBSD: auth2-gss.c,v 1.17 2011/03/10 02:52:57 djm Exp $ */ |
/* $OpenBSD: auth2-gss.c,v 1.18 2012/12/02 20:34:09 djm Exp $ */ |
|
|
/* |
/* |
* Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. |
* Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. |
Line 159 input_gssapi_token(int type, u_int32_t p |
|
Line 159 input_gssapi_token(int type, u_int32_t p |
|
} |
} |
authctxt->postponed = 0; |
authctxt->postponed = 0; |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL); |
userauth_finish(authctxt, 0, "gssapi-with-mic"); |
userauth_finish(authctxt, 0, "gssapi-with-mic", NULL); |
} else { |
} else { |
if (send_tok.length != 0) { |
if (send_tok.length != 0) { |
packet_start(SSH2_MSG_USERAUTH_GSSAPI_TOKEN); |
packet_start(SSH2_MSG_USERAUTH_GSSAPI_TOKEN); |
Line 247 input_gssapi_exchange_complete(int type, |
|
Line 247 input_gssapi_exchange_complete(int type, |
|
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); |
userauth_finish(authctxt, authenticated, "gssapi-with-mic"); |
userauth_finish(authctxt, authenticated, "gssapi-with-mic", NULL); |
} |
} |
|
|
static void |
static void |
Line 287 input_gssapi_mic(int type, u_int32_t ple |
|
Line 287 input_gssapi_mic(int type, u_int32_t ple |
|
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); |
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); |
userauth_finish(authctxt, authenticated, "gssapi-with-mic"); |
userauth_finish(authctxt, authenticated, "gssapi-with-mic", NULL); |
} |
} |
|
|
Authmethod method_gssapi = { |
Authmethod method_gssapi = { |