diff options
Diffstat (limited to 'usr/src/cmd/ssh/sshd/servconf.c')
-rw-r--r-- | usr/src/cmd/ssh/sshd/servconf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/cmd/ssh/sshd/servconf.c b/usr/src/cmd/ssh/sshd/servconf.c index 51e0b9bbe7..6d91626b13 100644 --- a/usr/src/cmd/ssh/sshd/servconf.c +++ b/usr/src/cmd/ssh/sshd/servconf.c @@ -119,7 +119,6 @@ initialize_server_options(ServerOptions *options) options->challenge_response_authentication = -1; options->permit_empty_passwd = -1; options->permit_user_env = -1; - options->use_login = -1; options->compression = -1; options->allow_tcp_forwarding = -1; options->num_allow_users = 0; @@ -336,8 +335,6 @@ fill_default_server_options(ServerOptions *options) options->permit_empty_passwd = 0; if (options->permit_user_env == -1) options->permit_user_env = 0; - if (options->use_login == -1) - options->use_login = 0; if (options->compression == -1) options->compression = 1; if (options->allow_tcp_forwarding == -1) @@ -876,8 +873,11 @@ parse_flag: goto parse_flag; case sUseLogin: - intptr = &options->use_login; - goto parse_flag; + log("%s line %d: ignoring UseLogin option value." + " This option is always off.", filename, linenum); + while (arg) + arg = strdelim(&cp); + break; case sCompression: intptr = &options->compression; @@ -930,7 +930,7 @@ parse_flag: log("%s line %d: ignoring UsePrivilegeSeparation option value." " This option is always on.", filename, linenum); while (arg) - arg = strdelim(&cp); + arg = strdelim(&cp); break; case sAllowUsers: |