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 1G1tC2-00073x-EL for garchives@archives.gentoo.org; Sat, 15 Jul 2006 23:05:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6FN3gRK005011; Sat, 15 Jul 2006 23:03:42 GMT Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6FMw0Ee021243 for ; Sat, 15 Jul 2006 22:58:00 GMT Received: by py-out-1112.google.com with SMTP id x66so1060297pye for ; Sat, 15 Jul 2006 15:58:00 -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=q8I3GKzQpzw5xRhEVpfJhoFxy/7tNdcGrVkKfpW4Rkb6qG73z2DRZ8/Lxee8uChM18JacEHlAMoSS7WBT5TG+vQVWkAnlrPVgnrHMiAUn1+V/HQ5+xS6mG9fEUkE/0Ab7HViZpWyHfPTOxioP+y52wZ+a+OfCFzV/UiCR3gGJxU= Received: by 10.35.61.2 with SMTP id o2mr1590076pyk; Sat, 15 Jul 2006 15:58:00 -0700 (PDT) Received: by 10.35.99.19 with HTTP; Sat, 15 Jul 2006 15:57:59 -0700 (PDT) Message-ID: <18e575130607151557n4ef50194n5e2347f8186cc17d@mail.gmail.com> Date: Sat, 15 Jul 2006 18:58:00 -0400 From: "Michael [Plouj] Ploujnikov" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Recent CUPS "upgrade" broke my printer server In-Reply-To: <9acccfe50607151434g31cded99uad49b658bb37bffd@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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9acccfe50607151434g31cded99uad49b658bb37bffd@mail.gmail.com> X-Archives-Salt: 9c15c39e-83d2-470c-ac23-0a6aa11abad8 X-Archives-Hash: 3dbbb8874826a598d2012b4e171f542d 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 > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list