Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
def0c011
Commit
def0c011
authored
Aug 21, 2001
by
Niels Möller
Browse files
*** empty log message ***
Rev: ChangeLog:1.380 Rev: src/server_password.c:1.33
parent
ea68033f
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
def0c011
2001-08-21 Niels Möller <nisse@ehand.com>
* src/server_userauth.c (server_userauth_none): New authentication
method.
* src/lshd.c (main_argp_parser): Install a handler for the "none"
authentication method.
(main): Always require user authentication (used to allow clients
to start the ssh-connection service directly, under the same
restrictions as for "none" authentication).
* src/lsh.c (main_options): Deleted options --userauth and
--no-userauth.
(lsh_login_command): Try the "none" authentication method.
* src/handshake.c (handshake_command): Use CAST_SUBTYPE.
* src/connection_commands.c (connection_if_srp): Deleted command.
* src/command.c (do_command_4): Use CAST_SUBTYPE, in case
command_4 is inherited.
(do_command_3): Use CAST_SUBTYPE, in case command_3 is inherited.
(do_command_2): Use CAST_SUBTYPE, command_2 is inherited by
sexp_print_command.
* src/client_userauth.c (format_userauth_none): New function.
(make_client_none_auth): New function.
2001-08-12 Niels Möller <nisse@cuckoo.hack.org>
* src/client.c (do_exit): New callback function.
...
...
src/server_password.c
View file @
def0c011
...
...
@@ -58,7 +58,7 @@ do_authenticate(struct userauth *s,
username
=
utf8_to_local
(
username
,
1
,
1
);
if
(
!
username
)
{
PROTOCOL_ERROR
(
e
,
"Invalid utf8 in
password
."
);
PROTOCOL_ERROR
(
e
,
"Invalid utf8 in
username
."
);
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment