Lines Matching refs:gsshost
371 cupsUser(), http->gsshost); in _cupsSetNegotiateAuthString()
383 snprintf(userbuf, sizeof(userbuf), "%s@%s", username, http->gsshost); in _cupsSetNegotiateAuthString()
786 if (!http->gsshost[0]) in cups_gss_getname()
788 httpGetHostname(http, http->gsshost, sizeof(http->gsshost)); in cups_gss_getname()
790 if (!strcmp(http->gsshost, "localhost")) in cups_gss_getname()
792 if (gethostname(http->gsshost, sizeof(http->gsshost)) < 0) in cups_gss_getname()
796 http->gsshost[0] = '\0'; in cups_gss_getname()
800 if (!strchr(http->gsshost, '.')) in cups_gss_getname()
808 if ((host = gethostbyname(http->gsshost)) != NULL && host->h_name) in cups_gss_getname()
814 strlcpy(http->gsshost, host->h_name, sizeof(http->gsshost)); in cups_gss_getname()
819 http->gsshost)); in cups_gss_getname()
820 http->gsshost[0] = '\0'; in cups_gss_getname()
831 snprintf(buf, sizeof(buf), "%s@%s", service_name, http->gsshost); in cups_gss_getname()