Home
last modified time | relevance | path

Searched refs:remote_host (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsn2princ.c87 char **hrealms, *realm, *remote_host; in krb5_sname_to_principal() local
166 remote_host = strdup(hp ? hp->h_name : hostname); in krb5_sname_to_principal()
167 if (!remote_host) { in krb5_sname_to_principal()
189 free(remote_host); in krb5_sname_to_principal()
190 remote_host = strdup(hp2->h_name); in krb5_sname_to_principal()
191 if (!remote_host) { in krb5_sname_to_principal()
198 remote_host); in krb5_sname_to_principal()
211 remote_host = strdup(hostname); in krb5_sname_to_principal()
213 if (!remote_host) in krb5_sname_to_principal()
216 printf("sname_to_princ: hostname <%s> after rdns processing\n",remote_host); in krb5_sname_to_principal()
[all …]
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c266 static char remote_host[HMAX]; variable
472 if ((pam_rc = pam_set_item(pamh, PAM_RHOST, remote_host)) != in main()
614 if (remote_host[0]) { in main()
616 ttyn, HMAX, remote_host); in main()
747 if (remote_host[0]) { in log_bad_attempts()
750 "%.*s", ttyn, HMAX, remote_host, in log_bad_attempts()
758 if (remote_host[0]) { in log_bad_attempts()
761 ttyn, HMAX, remote_host); in log_bad_attempts()
1371 SCPYL(remote_host, optarg); in get_options()
1395 SCPYL(remote_host, optarg); in get_options()
[all …]