/freebsd/lib/libpam/modules/pam_login_access/ |
H A D | pam_login_access.c | 72 const void *rhost, *tty, *user; in pam_sm_acct_mgmt() local 85 pam_err = pam_get_item(pamh, PAM_RHOST, &rhost); in pam_sm_acct_mgmt() 103 if (rhost != NULL && *(const char *)rhost != '\0') { in pam_sm_acct_mgmt() 105 (const char *)user, (const char *)rhost); in pam_sm_acct_mgmt() 106 if (login_access(user, rhost, &login_access_opts) != 0) in pam_sm_acct_mgmt() 109 (const char *)user, (const char *)rhost); in pam_sm_acct_mgmt()
|
/freebsd/libexec/fingerd/ |
H A D | fingerd.c | 65 char rhost[MAXHOSTNAMELEN]; in main() local 112 realhostname_sa(rhost, sizeof rhost - 1, in main() 114 rhost[sizeof(rhost) - 1] = '\0'; in main() 116 setenv("FINGERD_REMOTE_HOST", rhost, 1); in main() 136 syslog(LOG_NOTICE, "query from %s: `%s'", rhost, t); in main()
|
/freebsd/lib/libpam/modules/pam_radius/ |
H A D | pam_radius.c | 80 const char *rhost, const void *state, size_t state_len) in build_access_request() argument 126 if (rhost != NULL && in build_access_request() 127 rad_put_string(radh, RAD_CALLING_STATION_ID, rhost) == -1) { in build_access_request() 215 const char *nas_id, const char *nas_ipaddr, const char *rhost) in do_challenge() argument 283 nas_ipaddr, rhost, state, statelen) == -1) in do_challenge() 299 const void *rhost, *tmpuser; in pam_sm_authenticate() local 308 pam_get_item(pamh, PAM_RHOST, &rhost); in pam_sm_authenticate() 338 if (build_access_request(radh, user, pass, nas_id, nas_ipaddr, rhost, in pam_sm_authenticate() 385 nas_ipaddr, rhost); in pam_sm_authenticate()
|
/freebsd/lib/libpam/modules/pam_rhosts/ |
H A D | pam_rhosts.c | 58 const void *ruser, *rhost; in pam_sm_authenticate() local 75 err = pam_get_item(pamh, PAM_RHOST, &rhost); in pam_sm_authenticate() 80 err = ruserok(rhost, superuser, ruser, user); in pam_sm_authenticate()
|
/freebsd/contrib/openpam/lib/libpam/ |
H A D | pam_get_authtok.c | 72 const void *lhost, *rhost; in pam_get_authtok() local 84 r = pam_get_item(pamh, PAM_RHOST, &rhost); in pam_get_authtok() 85 if (r == PAM_SUCCESS && rhost != NULL) { in pam_get_authtok() 88 if (strcmp(rhost, lhost) != 0) in pam_get_authtok()
|
/freebsd/lib/libpam/modules/pam_lastlog/ |
H A D | pam_lastlog.c | 73 const void *rhost, *tty; in pam_sm_open_session() local 84 pam_err = pam_get_item(pamh, PAM_RHOST, &rhost); in pam_sm_open_session() 139 if (rhost != NULL) in pam_sm_open_session() 140 strncpy(utl.ut_host, rhost, sizeof utl.ut_host); in pam_sm_open_session()
|
/freebsd/lib/libpam/modules/pam_unix/ |
H A D | pam_unix.c | 171 const void *rhost, *tty; in pam_sm_acct_mgmt() local 183 retval = pam_get_item(pamh, PAM_RHOST, &rhost); in pam_sm_acct_mgmt() 247 if (rhost && *(const char *)rhost != '\0') { in pam_sm_acct_mgmt() 250 if (getaddrinfo(rhost, NULL, &hints, &res) == 0) { in pam_sm_acct_mgmt() 263 if (!auth_hostok(lc, rhost, rhostip) || in pam_sm_acct_mgmt()
|
/freebsd/contrib/openpam/bin/pamtest/ |
H A D | pamtest.c | 315 const char *rhost = NULL; in main() local 332 opt_str_once(opt, &rhost, optarg); in main() 389 if (rhost == NULL) { in main() 392 rhost = hostname; in main() 417 if ((pame = pt_set_item(PAM_RHOST, rhost)) != PAM_SUCCESS || in main()
|
/freebsd/usr.sbin/lpr/common_source/ |
H A D | net.c | 87 getport(const struct printer *pp, const char *rhost, int rport) in getport() argument 96 if (rhost == NULL) in getport() 102 error = getaddrinfo(rhost, (rport == 0 ? "printer" : NULL), in getport()
|
/freebsd/tests/sys/cddl/zfs/include/ |
H A D | libtest.kshlib | 1870 typeset rhost=$1 1875 $GETENT hosts $rhost >/dev/null 2>&1 1877 log_note "$rhost cannot be found from" \ 1882 $PING $rhost 3 >/dev/null 2>&1 1884 log_note "$rhost is not reachable." 1895 if ! $rsh_cmd $rhost $TRUE; then 1896 log_note "$RSH to $rhost is not accessible" \ 1910 rhost=$1 1920 while ! verify_rsh_connect $rhost; do 1943 typeset rhost=$2 [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_filter.c | 379 __in uint32_t rhost, in efx_filter_spec_set_ipv4_full() argument 392 spec->efs_rem_host.eo_u32[0] = rhost; in efx_filter_spec_set_ipv4_full() 696 uint32_t rhost, host1, host2; in siena_filter_spec_from_gen_spec() local 741 rhost = is_full ? gen_spec->efs_rem_host.eo_u32[0] : 0; in siena_filter_spec_from_gen_spec() 745 host2 = rhost; in siena_filter_spec_from_gen_spec() 747 host1 = rhost; in siena_filter_spec_from_gen_spec()
|
H A D | efx.h | 2977 __in uint32_t rhost,
|
/freebsd/lib/libc/net/ |
H A D | rcmd.c | 370 ruserok(const char *rhost, int superuser, const char *ruser, const char *luser) in ruserok() argument 378 error = getaddrinfo(rhost, "0", &hints, &res); in ruserok()
|
/freebsd/lib/libfetch/ |
H A D | common.c | 885 fetch_ssl_ipaddr_match_bin(const struct addrinfo *lhost, const char *rhost, in fetch_ssl_ipaddr_match_bin() argument 900 return (!memcmp(left, (const void *)rhost, rhostlen) ? 1 : 0); in fetch_ssl_ipaddr_match_bin()
|