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.c264 static char remote_host[HMAX]; variable
470 if ((pam_rc = pam_set_item(pamh, PAM_RHOST, remote_host)) != in main()
612 if (remote_host[0]) { in main()
614 ttyn, HMAX, remote_host); in main()
745 if (remote_host[0]) { in log_bad_attempts()
748 "%.*s", ttyn, HMAX, remote_host, in log_bad_attempts()
756 if (remote_host[0]) { in log_bad_attempts()
759 ttyn, HMAX, remote_host); in log_bad_attempts()
1370 SCPYL(remote_host, optarg); in get_options()
1394 SCPYL(remote_host, optarg); in get_options()
[all …]