Skip to content

Commit 8ee3f98

Browse files
committed
Mirror change for GSSAPI (Kerberos) support.
1 parent 2bae0b8 commit 8ee3f98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cups/auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ cupsDoAuthentication(
153153
DEBUG_printf("2cupsDoAuthentication: Trying scheme \"%s\"...", scheme);
154154

155155
#ifdef HAVE_GSSAPI
156-
if (!_cups_strcasecmp(scheme, "Negotiate") && !httpAddrIsLocalhost(httpGetAddress(http)))
156+
if (!_cups_strcasecmp(scheme, "Negotiate") && httpAddrGetFamily(httpGetAddress(http)) != AF_LOCAL)
157157
{
158158
// Kerberos authentication to remote server...
159159
int gss_status; // Auth status

0 commit comments

Comments
 (0)