version 1.168, 2008/10/03 23:56:28 |
version 1.169, 2008/11/01 04:50:08 |
|
|
int userauth_passwd(Authctxt *); |
int userauth_passwd(Authctxt *); |
int userauth_kbdint(Authctxt *); |
int userauth_kbdint(Authctxt *); |
int userauth_hostbased(Authctxt *); |
int userauth_hostbased(Authctxt *); |
int userauth_kerberos(Authctxt *); |
|
|
|
#ifdef GSSAPI |
#ifdef GSSAPI |
int userauth_gssapi(Authctxt *authctxt); |
int userauth_gssapi(Authctxt *authctxt); |
|
|
} |
} |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_userauth_error(int type, u_int32_t seq, void *ctxt) |
input_userauth_error(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
"type %d", type); |
"type %d", type); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_userauth_banner(int type, u_int32_t seq, void *ctxt) |
input_userauth_banner(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
xfree(lang); |
xfree(lang); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_userauth_success(int type, u_int32_t seq, void *ctxt) |
input_userauth_success(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
authctxt->success = 1; /* break out */ |
authctxt->success = 1; /* break out */ |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_userauth_failure(int type, u_int32_t seq, void *ctxt) |
input_userauth_failure(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
|
|
userauth(authctxt, authlist); |
userauth(authctxt, authlist); |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_userauth_pk_ok(int type, u_int32_t seq, void *ctxt) |
input_userauth_pk_ok(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
|
|
return status; |
return status; |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_gssapi_response(int type, u_int32_t plen, void *ctxt) |
input_gssapi_response(int type, u_int32_t plen, void *ctxt) |
{ |
{ |
|
|
} |
} |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_gssapi_token(int type, u_int32_t plen, void *ctxt) |
input_gssapi_token(int type, u_int32_t plen, void *ctxt) |
{ |
{ |
|
|
} |
} |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_gssapi_errtok(int type, u_int32_t plen, void *ctxt) |
input_gssapi_errtok(int type, u_int32_t plen, void *ctxt) |
{ |
{ |
|
|
/* Server will be returning a failed packet after this one */ |
/* Server will be returning a failed packet after this one */ |
} |
} |
|
|
|
/* ARGSUSED */ |
void |
void |
input_gssapi_error(int type, u_int32_t plen, void *ctxt) |
input_gssapi_error(int type, u_int32_t plen, void *ctxt) |
{ |
{ |
|
|
|
|
return 1; |
return 1; |
} |
} |
|
|
/* |
/* |
* parse PASSWD_CHANGEREQ, prompt user and send SSH2_MSG_USERAUTH_REQUEST |
* parse PASSWD_CHANGEREQ, prompt user and send SSH2_MSG_USERAUTH_REQUEST |
*/ |
*/ |
|
/* ARGSUSED */ |
void |
void |
input_userauth_passwd_changereq(int type, u_int32_t seqnr, void *ctxt) |
input_userauth_passwd_changereq(int type, u_int32_t seqnr, void *ctxt) |
{ |
{ |