Home
last modified time | relevance | path

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

/external/libcups/cups/
Dauth.c395 cupsUser(), http->gsshost); in _cupsSetNegotiateAuthString()
407 snprintf(userbuf, sizeof(userbuf), "%s@%s", username, http->gsshost); in _cupsSetNegotiateAuthString()
812 if (!http->gsshost[0]) in cups_gss_getname()
814 httpGetHostname(http, http->gsshost, sizeof(http->gsshost)); in cups_gss_getname()
816 if (!strcmp(http->gsshost, "localhost")) in cups_gss_getname()
818 if (gethostname(http->gsshost, sizeof(http->gsshost)) < 0) in cups_gss_getname()
822 http->gsshost[0] = '\0'; in cups_gss_getname()
826 if (!strchr(http->gsshost, '.')) in cups_gss_getname()
834 if ((host = gethostbyname(http->gsshost)) != NULL && host->h_name) in cups_gss_getname()
840 strlcpy(http->gsshost, host->h_name, sizeof(http->gsshost)); in cups_gss_getname()
[all …]
Dhttp-private.h279 char gsshost[256]; /* Hostname for Kerberos */ member