version 1.78, 2001/12/20 22:50:24 |
version 1.79, 2001/12/28 12:14:27 |
|
|
u_int len; |
u_int len; |
int accept = 0; |
int accept = 0; |
char *service = packet_get_string(&len); |
char *service = packet_get_string(&len); |
packet_done(); |
packet_check_eom(); |
|
|
if (authctxt == NULL) |
if (authctxt == NULL) |
fatal("input_service_request: no authctxt"); |
fatal("input_service_request: no authctxt"); |
|
|
Authmethod *m = authmethod_lookup("none"); |
Authmethod *m = authmethod_lookup("none"); |
if (m != NULL) |
if (m != NULL) |
m->enabled = NULL; |
m->enabled = NULL; |
packet_done(); |
packet_check_eom(); |
userauth_banner(); |
userauth_banner(); |
return authctxt->valid ? auth_password(authctxt, "") : 0; |
return authctxt->valid ? auth_password(authctxt, "") : 0; |
} |
} |
|
|
if (change) |
if (change) |
log("password change not supported"); |
log("password change not supported"); |
password = packet_get_string(&len); |
password = packet_get_string(&len); |
packet_done(); |
packet_check_eom(); |
if (authctxt->valid && |
if (authctxt->valid && |
auth_password(authctxt, password) == 1) |
auth_password(authctxt, password) == 1) |
authenticated = 1; |
authenticated = 1; |
|
|
|
|
lang = packet_get_string(NULL); |
lang = packet_get_string(NULL); |
devs = packet_get_string(NULL); |
devs = packet_get_string(NULL); |
packet_done(); |
packet_check_eom(); |
|
|
debug("keyboard-interactive devs %s", devs); |
debug("keyboard-interactive devs %s", devs); |
|
|
|
|
if (key != NULL) { |
if (key != NULL) { |
if (have_sig) { |
if (have_sig) { |
sig = packet_get_string(&slen); |
sig = packet_get_string(&slen); |
packet_done(); |
packet_check_eom(); |
buffer_init(&b); |
buffer_init(&b); |
if (datafellows & SSH_OLD_SESSIONID) { |
if (datafellows & SSH_OLD_SESSIONID) { |
buffer_append(&b, session_id2, session_id2_len); |
buffer_append(&b, session_id2, session_id2_len); |
|
|
xfree(sig); |
xfree(sig); |
} else { |
} else { |
debug("test whether pkalg/pkblob are acceptable"); |
debug("test whether pkalg/pkblob are acceptable"); |
packet_done(); |
packet_check_eom(); |
|
|
/* XXX fake reply and always send PK_OK ? */ |
/* XXX fake reply and always send PK_OK ? */ |
/* |
/* |