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 1G1wXw-0001uR-GO for garchives@archives.gentoo.org; Sun, 16 Jul 2006 02:39:52 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6G2ca6v010789; Sun, 16 Jul 2006 02:38:36 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6G2Xpbx016064 for ; Sun, 16 Jul 2006 02:33:51 GMT Received: by nf-out-0910.google.com with SMTP id m19so221184nfc for ; Sat, 15 Jul 2006 19:33:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y1GW9+LGJW8LbYBjxXHZ+J5Qba8Vo42RnGL+oaUChN8QjVvHSu7isRGVINm5vPOMyz56Wg5PaSDIlC4sVLCnuLKNFLhwlHluNGNqIilwjPiRHxp6/gfmbw6VffU34xmxwHO3l7GjosACeBcpjsz172kWlzO2ZTPFOluFdNfjAA4= Received: by 10.48.161.1 with SMTP id j1mr830564nfe; Sat, 15 Jul 2006 19:33:50 -0700 (PDT) Received: by 10.48.212.13 with HTTP; Sat, 15 Jul 2006 19:33:50 -0700 (PDT) Message-ID: <9acccfe50607151933u49303d5g8330163f1b49097b@mail.gmail.com> Date: Sat, 15 Jul 2006 19:33:50 -0700 From: "Kevin O'Gorman" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Recent CUPS "upgrade" broke my printer server In-Reply-To: <18e575130607151557n4ef50194n5e2347f8186cc17d@mail.gmail.com> 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 References: <9acccfe50607151434g31cded99uad49b658bb37bffd@mail.gmail.com> <18e575130607151557n4ef50194n5e2347f8186cc17d@mail.gmail.com> X-Archives-Salt: 17e629eb-a276-443e-b887-bc22bd39995f X-Archives-Hash: 75c33b16766fdca8e326263568e9991b On 7/15/06, Michael [Plouj] Ploujnikov wrote: > There must be a good reason it isn't stable yet: > http://www.gentoo-portage.com/net-print/cups > > On 7/15/06, Kevin O'Gorman wrote: > > 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 > > > > > > > Purge-Jobs Set-Job-Attributes Create-Job-Subscription > > Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job > > Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> > > Require user @OWNER @SYSTEM > > Order deny,allow > > > > > Enable-Printer Disable-Printer Pause-Printer-After-Current-Job > > Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer > > Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer > > Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer > > CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs > > CUPS-Set-Default> > > AuthType Basic > > Require user @SYSTEM > > Order deny,allow > > > > > > Require user @OWNER @SYSTEM > > Order deny,allow > > > > > > Order deny,allow > > > > > > > > > > > > -- > > Kevin O'Gorman, PhD Drat, I need a better memory. I got dragged into allowing unstable because something else I wanted depended on it. Fortunately I buildpkg; I'll just back up. ++ kevin -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list