Skip to content

Commit 34f7a22

Browse files
committed
Fix builds against GSSAPI (Kerberos)
1 parent da0ff58 commit 34f7a22

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
@@ -176,7 +176,7 @@ cupsDoAuthentication(
176176
DEBUG_printf(("2cupsDoAuthentication: Trying scheme \"%s\"...", scheme));
177177

178178
#ifdef HAVE_GSSAPI
179-
if (!_cups_strcasecmp(scheme, "Negotiate") && !cups_is_local_connection(http))
179+
if (!_cups_strcasecmp(scheme, "Negotiate") && httpAddrFamily(httpGetAddress(http)) != AF_LOCAL)
180180
{
181181
/*
182182
* Kerberos authentication to remote server...

0 commit comments

Comments
 (0)