version 1.2.8.2, 2004/03/04 18:18:15 |
version 1.3, 2003/04/08 20:21:28 |
|
|
/* import */ |
/* import */ |
extern ServerOptions options; |
extern ServerOptions options; |
extern u_char *session_id2; |
extern u_char *session_id2; |
extern u_int session_id2_len; |
extern int session_id2_len; |
|
|
static int |
static int |
userauth_hostbased(Authctxt *authctxt) |
userauth_hostbased(Authctxt *authctxt) |
|
|
buffer_len(&b))) == 1) |
buffer_len(&b))) == 1) |
authenticated = 1; |
authenticated = 1; |
|
|
buffer_free(&b); |
buffer_clear(&b); |
done: |
done: |
debug2("userauth_hostbased: authenticated %d", authenticated); |
debug2("userauth_hostbased: authenticated %d", authenticated); |
if (key != NULL) |
if (key != NULL) |
|
|
HostStatus host_status; |
HostStatus host_status; |
int len; |
int len; |
|
|
resolvedname = get_canonical_hostname(options.use_dns); |
resolvedname = get_canonical_hostname(options.verify_reverse_mapping); |
ipaddr = get_remote_ipaddr(); |
ipaddr = get_remote_ipaddr(); |
|
|
debug2("userauth_hostbased: chost %s resolvedname %s ipaddr %s", |
debug2("userauth_hostbased: chost %s resolvedname %s ipaddr %s", |