Lines Matching refs:hostname
39 check_rhosts_file(const char *filename, const char *hostname, in check_rhosts_file() argument
118 if (!innetgr(host + 1, hostname, NULL, NULL) && in check_rhosts_file()
121 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0) in check_rhosts_file()
158 const char *hostname, *ipaddr; in auth_rhosts() local
160 hostname = get_canonical_hostname(options.verify_reverse_mapping); in auth_rhosts()
162 return auth_rhosts2(pw, client_user, hostname, ipaddr); in auth_rhosts()
166 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname, in auth_rhosts2_raw() argument
175 client_user, hostname, ipaddr); in auth_rhosts2_raw()
207 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw()
210 hostname, ipaddr); in auth_rhosts2_raw()
213 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw()
216 hostname, ipaddr, _PATH_SSH_HOSTS_EQUIV); in auth_rhosts2_raw()
273 if (check_rhosts_file(buf, hostname, ipaddr, client_user, pw->pw_name)) { in auth_rhosts2_raw()
279 hostname, ipaddr, client_user, pw->pw_name); in auth_rhosts2_raw()
290 auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, in auth_rhosts2() argument
296 ret = auth_rhosts2_raw(pw, client_user, hostname, ipaddr); in auth_rhosts2()