[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cups-commit
Subject:    [cups.commit] [CUPS] r9647 - trunk/scheduler
From:       cups-dev () easysw ! com
Date:       2011-03-25 5:55:36
Message-ID: 10418-cups.commit () news ! easysw ! com
[Download RAW message or body]

Author: mike
Date: 2011-03-24 22:55:35 -0700 (Thu, 24 Mar 2011)
New Revision: 9647
Log:
Don't disable certificates for authorization when there is an authkey since we
really only want to disable the root certificate (which is no longer generated).


Modified:
   trunk/scheduler/auth.c

Modified: trunk/scheduler/auth.c
===================================================================
--- trunk/scheduler/auth.c	2011-03-25 05:53:01 UTC (rev 9646)
+++ trunk/scheduler/auth.c	2011-03-25 05:55:35 UTC (rev 9647)
@@ -570,20 +570,6 @@
     * 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 ++;

_______________________________________________
cups-commit mailing list
cups-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic