diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -69,6 +69,7 @@ extern Authmethod method_passwd; | |||
69 | extern Authmethod method_kbdint; | 69 | extern Authmethod method_kbdint; |
70 | extern Authmethod method_hostbased; | 70 | extern Authmethod method_hostbased; |
71 | #ifdef GSSAPI | 71 | #ifdef GSSAPI |
72 | extern Authmethod method_gsskeyex; | ||
72 | extern Authmethod method_gssapi; | 73 | extern Authmethod method_gssapi; |
73 | #endif | 74 | #endif |
74 | 75 | ||
@@ -76,6 +77,7 @@ Authmethod *authmethods[] = { | |||
76 | &method_none, | 77 | &method_none, |
77 | &method_pubkey, | 78 | &method_pubkey, |
78 | #ifdef GSSAPI | 79 | #ifdef GSSAPI |
80 | &method_gsskeyex, | ||
79 | &method_gssapi, | 81 | &method_gssapi, |
80 | #endif | 82 | #endif |
81 | &method_passwd, | 83 | &method_passwd, |
@@ -264,6 +266,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt) | |||
264 | #endif | 266 | #endif |
265 | 267 | ||
266 | authctxt->postponed = 0; | 268 | authctxt->postponed = 0; |
269 | authctxt->server_caused_failure = 0; | ||
267 | 270 | ||
268 | /* try to authenticate user */ | 271 | /* try to authenticate user */ |
269 | m = authmethod_lookup(method); | 272 | m = authmethod_lookup(method); |