]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't disable certificates for authorization when there is an authkey since we
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 25 Mar 2011 05:55:35 +0000 (05:55 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 25 Mar 2011 05:55:35 +0000 (05:55 +0000)
really only want to disable the root certificate (which is no longer generated).

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@9647 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/auth.c

index 0ce2e829b124948953537795cb3260e29ccc1e1d..a528bd7dbf0c1027dde4031158d2ace107f2d2a1 100644 (file)
@@ -570,20 +570,6 @@ cupsdAuthorize(cupsd_client_t *con)        /* I - Client connection */
     * Get Local certificate authentication data...
     */
 
-#ifdef HAVE_AUTHORIZATION_H
-    const char         *name;          /* Authorizing name */
-
-    for (name = (char *)cupsArrayFirst(con->best->names);
-         name;
-         name = (char *)cupsArrayNext(con->best->names))
-      if (!strncasecmp(name, "@AUTHKEY(", 9) || !strcasecmp(name, "@SYSTEM"))
-      {
-       cupsdLogMessage(CUPSD_LOG_ERROR,
-                       "Local authentication not allowed for resource.");
-       return;
-      }
-#endif /* HAVE_AUTHORIZATION_H */
-
     authorization += 5;
     while (isspace(*authorization & 255))
       authorization ++;