| /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/crypto/krb5/src/lib/krb5/krb/ |
| H A D | fwd_tgt.c | 40 const char *rhost, krb5_principal client, in krb5_fwd_tgt_creds() argument 124 if (rhost == NULL) { in krb5_fwd_tgt_creds() 139 rhost = def_rhost; in krb5_fwd_tgt_creds() 142 retval = k5_os_hostaddr(context, rhost, &addrs); in krb5_fwd_tgt_creds()
|
| /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/contrib/pam-krb5/pam-util/ |
| H A D | logging.c | 257 const char *rhost = NULL; in putil_log_failure() local 269 pam_get_item(pargs->pamh, PAM_RHOST, (PAM_CONST void **) &rhost); in putil_log_failure() 279 (rhost != NULL) ? rhost : ""); in putil_log_failure()
|
| /freebsd/contrib/pam-krb5/tests/fakepam/ |
| H A D | data.c | 123 *data = (PAM_CONST char *) pamh->rhost; in pam_get_item() 166 free(pamh->rhost); in pam_set_item() 167 pamh->rhost = strdup(data); in pam_set_item() 168 if (pamh->rhost == NULL) in pam_set_item()
|
| H A D | pam.h | 58 char *rhost; member
|
| /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/contrib/pam-krb5/tests/data/scripts/long/ |
| H A D | password | 14 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| H A D | use-first | 14 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| H A D | use-first-debug | 16 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| H A D | password-debug | 19 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| /freebsd/contrib/pam-krb5/tests/data/scripts/realm/ |
| H A D | fail-no-realm | 17 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| H A D | fail-bad-user-realm | 17 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| H A D | fail-realm | 17 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| /freebsd/contrib/pam-krb5/tests/data/scripts/expired/ |
| H A D | fail | 20 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| /freebsd/contrib/pam-krb5/tests/data/scripts/pkinit/ |
| H A D | no-use-pkinit | 18 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| /freebsd/contrib/pam-krb5/tests/data/scripts/alt-auth/ |
| H A D | fail | 19 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|
| /freebsd/contrib/pam-krb5/tests/data/scripts/basic/ |
| H A D | force-first | 22 NOTICE authentication failure; logname=%u uid=%i euid=%i tty= ruser= rhost=
|