From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G1rtx-0003HB-MT for garchives@archives.gentoo.org; Sat, 15 Jul 2006 21:42:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6FLeSpS002333; Sat, 15 Jul 2006 21:40:28 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6FLYPje009749 for ; Sat, 15 Jul 2006 21:34:25 GMT Received: by nf-out-0910.google.com with SMTP id m19so194571nfc for ; Sat, 15 Jul 2006 14:34:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LKe41V+Sg0O0HVEiUZDaSfYvlD4WqR8A3NWzXZBBJmyVGD20C8+eEoopB3Bu783vCXpAmcp4BuKcVfAGWuslxFbiRXDPA0OsR/1+mfwQs26QyIyFYD06XLe4o3mh5dqjAhha8p8Kc6mcwN76I/0LrO32NPhEJjmZHFYVcZQBk1Y= Received: by 10.48.143.13 with SMTP id q13mr709607nfd; Sat, 15 Jul 2006 14:34:25 -0700 (PDT) Received: by 10.48.212.13 with HTTP; Sat, 15 Jul 2006 14:34:25 -0700 (PDT) Message-ID: <9acccfe50607151434g31cded99uad49b658bb37bffd@mail.gmail.com> Date: Sat, 15 Jul 2006 14:34:25 -0700 From: "Kevin O'Gorman" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Recent CUPS "upgrade" broke my printer server Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: e86ba5e8-b753-4443-af5d-9bda0825e482 X-Archives-Hash: 404d42db50849253513fc796c903861b I've been running cups happily on this box for a couple of years. It serves print requests from two other computers I have, one running Ubuntu (also running cups), and the other running WinXP. With the upgrade to 1.2.1-r2 from 1.1.23, some probelms arose: 1) neither of the other machines can print through this server any more. 2) When either of the other machines is running at all, requests to print on this gentoo server lock up for just under 2 minutes before they get to printing. If I shut down the other machines, printing returns to normal locally. The error logs show a repeated error that doesn't ring a bell with me: E [15/Jul/2006:14:20:18 -0700] encrypt_client: Unable to encrypt connection from 64.166.164.53! The config files changed a bit on the upgrade, and I did my best. The last go 'round was through the web interface (once I got that working) so they've all been rewritten by cups. I cannot claim to understand them completely. Can anyone explain the @OWNER @SYSTEM things -- they sound good, but I'm not truly clear on exactly what they do in cups. I want to allow ports 631 (normal cups stuff from the Ubuntu machine) and 515 (LPD things for WinXP). I've looked at the config files, and nothing jumps out at me. The one mention of encryption is in the /auth section, which I don't use remotely anyway. Here's cupsd.conf: # Show general information in error_log. LogLevel info SystemGroup lpadmin # Allow remote access Port 631 Listen *:printer Listen /var/run/cups/cups.sock # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL BrowseAddress @LOCAL DefaultAuthType Basic # Allow shared printing... Order allow,deny Allow @LOCAL Encryption Required # Restrict access to the admin pages... Order allow,deny Allow localhost AuthType Basic Require user @SYSTEM # Restrict access to the configuration files... Order allow,deny Allow localhost Require user @OWNER @SYSTEM Order deny,allow AuthType Basic Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list