Home
last modified time | relevance | path

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

/external/libcups/cups/
Dauth.c371 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()
[all …]
Dhttp-private.h347 char gsshost[256]; /* Hostname for Kerberos */ member