Lines Matching refs:cuser
63 char *pkalg, *cuser, *chost, *service; in userauth_hostbased() local
76 cuser = packet_get_string(NULL); in userauth_hostbased()
80 cuser, chost, pkalg, slen); in userauth_hostbased()
130 buffer_put_cstring(&b, cuser); in userauth_hostbased()
136 "client user \"%.100s\", client host \"%.100s\"", cuser, chost); in userauth_hostbased()
140 if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) && in userauth_hostbased()
152 free(cuser); in userauth_hostbased()
160 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument
184 if (auth_rhosts2(pw, cuser, chost, chost) == 0) { in hostbased_key_allowed()
187 __func__, cuser, chost); in hostbased_key_allowed()
196 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed()
199 __func__, cuser, resolvedname, ipaddr); in hostbased_key_allowed()
233 cuser, lookup); in hostbased_key_allowed()
239 key_type(key), fp, cuser, lookup); in hostbased_key_allowed()