forked from openssh/openssh-portable
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [email protected] 2013/03/07 19:27:25
[auth.h auth2-chall.c auth2.c monitor.c sshd_config.5] add submethod support to AuthenticationMethods; ok and freedback djm@
- Loading branch information
Showing
6 changed files
with
91 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,9 @@ | |
have included a style (e.g. "root:skey") when checking public key | ||
signatures. Fixes public key and hostbased auth when the client specified | ||
a style; ok markus@ | ||
- [email protected] 2013/03/07 19:27:25 | ||
[auth.h auth2-chall.c auth2.c monitor.c sshd_config.5] | ||
add submethod support to AuthenticationMethods; ok and freedback djm@ | ||
|
||
20130418 | ||
- (djm) [config.guess config.sub] Update to last versions before they switch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: monitor.c,v 1.121 2013/03/07 00:19:59 djm Exp $ */ | ||
/* $OpenBSD: monitor.c,v 1.122 2013/03/07 19:27:25 markus Exp $ */ | ||
/* | ||
* Copyright 2002 Niels Provos <[email protected]> | ||
* Copyright 2002 Markus Friedl <[email protected]> | ||
|
@@ -392,7 +392,7 @@ monitor_child_preauth(Authctxt *_authctxt, struct monitor *pmonitor) | |
"with SSH protocol 1"); | ||
if (authenticated && | ||
!auth2_update_methods_lists(authctxt, | ||
auth_method)) { | ||
auth_method, auth_submethod)) { | ||
debug3("%s: method %s: partial", __func__, | ||
auth_method); | ||
authenticated = 0; | ||
|
@@ -949,9 +949,10 @@ mm_answer_bsdauthrespond(int sock, Buffer *m) | |
debug3("%s: sending authenticated: %d", __func__, authok); | ||
mm_request_send(sock, MONITOR_ANS_BSDAUTHRESPOND, m); | ||
|
||
if (compat20) | ||
auth_method = "keyboard-interactive"; /* XXX auth_submethod */ | ||
else | ||
if (compat20) { | ||
auth_method = "keyboard-interactive"; | ||
auth_submethod = "bsdauth"; | ||
} else | ||
auth_method = "bsdauth"; | ||
|
||
return (authok != 0); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters