9db046
From b28fd9a0ad2262e7caa8615d891cff2422e496e5 Mon Sep 17 00:00:00 2001
9db046
From: mike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
9db046
Date: Mon, 17 Dec 2012 22:40:54 +0000
9db046
Subject: [PATCH] Fixed a problem with local Kerberos authentication (STR
9db046
 #4140)
9db046
9db046
git-svn-id: http://svn.easysw.com/public/cups/trunk@10778 7a7537e8-13f0-0310-91df-b6672ffda945
9db046
diff --git a/scheduler/client.c b/scheduler/client.c
9db046
index 663c64b..e9abb82 100644
9db046
--- a/scheduler/client.c
9db046
+++ b/scheduler/client.c
9db046
@@ -2580,14 +2580,7 @@ cupsdSendHeader(
9db046
 	       con->http.hostname);
9db046
 #ifdef HAVE_GSSAPI
9db046
     else if (auth_type == CUPSD_AUTH_NEGOTIATE)
9db046
-    {
9db046
-#  ifdef AF_LOCAL
9db046
-      if (_httpAddrFamily(con->http.hostaddr) == AF_LOCAL)
9db046
-        strlcpy(auth_str, "Basic realm=\"CUPS\"", sizeof(auth_str));
9db046
-      else
9db046
-#  endif /* AF_LOCAL */
9db046
       strlcpy(auth_str, "Negotiate", sizeof(auth_str));
9db046
-    }
9db046
 #endif /* HAVE_GSSAPI */
9db046
 
9db046
     if (con->best && auth_type != CUPSD_AUTH_NEGOTIATE &&
9db046
-- 
9db046
1.8.0.1
9db046