Home
last modified time | relevance | path

Searched refs:cuser (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/cmd/ssh/sshd/
H A Dauth2-hostbased.c62 char *pkalg, *cuser, *chost, *service; in userauth_hostbased() local
74 cuser = packet_get_string(NULL); in userauth_hostbased()
78 cuser, chost, pkalg, slen); in userauth_hostbased()
115 buffer_put_cstring(&b, cuser); in userauth_hostbased()
121 if (hostbased_key_allowed(authctxt->pw, cuser, chost, key) && in userauth_hostbased()
137 authctxt->cuser = cuser; in userauth_hostbased()
142 authctxt->cuser = NULL; in userauth_hostbased()
154 xfree(cuser); in userauth_hostbased()
162 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument
179 if (auth_rhosts2(pw, cuser, chost, chost) == 0) in hostbased_key_allowed()
[all …]
H A Dauth-rh-rsa.c34 auth_rhosts_rsa_key_allowed(struct passwd *pw, char *cuser, char *chost, in auth_rhosts_rsa_key_allowed() argument
40 if (!auth_rhosts(pw, cuser)) in auth_rhosts_rsa_key_allowed()
55 auth_rhosts_rsa(struct passwd *pw, char *cuser, Key *client_host_key) in auth_rhosts_rsa() argument
60 cuser); in auth_rhosts_rsa()
69 if (!auth_rhosts_rsa_key_allowed(pw, cuser, chost, client_host_key)) { in auth_rhosts_rsa()
88 pw->pw_name, cuser, chost); in auth_rhosts_rsa()
H A Dauth-pam.c231 if (authctxt->cuser != NULL) in new_start_pam()
232 if ((retval = pam_set_item(pamh, PAM_AUSER, authctxt->cuser)) != PAM_SUCCESS) { in new_start_pam()
/titanic_50/usr/src/cmd/ssh/include/
H A Dauth.h99 char *cuser; /* client side user, needed for setting member