1 |
There must be a good reason it isn't stable yet: |
2 |
http://www.gentoo-portage.com/net-print/cups |
3 |
|
4 |
On 7/15/06, Kevin O'Gorman <kogorman@×××××.com> wrote: |
5 |
> I've been running cups happily on this box for a couple of years. It serves |
6 |
> print requests from two other computers I have, one running Ubuntu (also |
7 |
> running cups), and the other running WinXP. |
8 |
> |
9 |
> With the upgrade to 1.2.1-r2 from 1.1.23, some probelms arose: |
10 |
> 1) neither of the other machines can print through this server any more. |
11 |
> 2) When either of the other machines is running at all, requests to print |
12 |
> on this gentoo server lock up for just under 2 minutes before they |
13 |
> get to printing. If I shut down the other machines, printing returns |
14 |
> to normal locally. |
15 |
> |
16 |
> The error logs show a repeated error that doesn't ring a bell with me: |
17 |
> |
18 |
> E [15/Jul/2006:14:20:18 -0700] encrypt_client: Unable to encrypt |
19 |
> connection from 64.166.164.53! |
20 |
> |
21 |
> The config files changed a bit on the upgrade, and I did my best. The last |
22 |
> go 'round was through the web interface (once I got that working) so they've |
23 |
> all been rewritten by cups. I cannot claim to understand them completely. |
24 |
> Can anyone explain the @OWNER @SYSTEM things -- they sound good, |
25 |
> but I'm not truly clear on exactly what they do in cups. |
26 |
> I want to allow ports 631 (normal cups stuff from the Ubuntu machine) and |
27 |
> 515 (LPD things for WinXP). |
28 |
> |
29 |
> I've looked at the config files, and nothing jumps out at me. The one mention |
30 |
> of encryption is in the /auth section, which I don't use remotely |
31 |
> anyway. Here's |
32 |
> cupsd.conf: |
33 |
> |
34 |
> # Show general information in error_log. |
35 |
> LogLevel info |
36 |
> SystemGroup lpadmin |
37 |
> # Allow remote access |
38 |
> Port 631 |
39 |
> Listen *:printer |
40 |
> Listen /var/run/cups/cups.sock |
41 |
> # Enable printer sharing and shared printers. |
42 |
> Browsing On |
43 |
> BrowseOrder allow,deny |
44 |
> BrowseAllow @LOCAL |
45 |
> BrowseAddress @LOCAL |
46 |
> DefaultAuthType Basic |
47 |
> <Location /> |
48 |
> # Allow shared printing... |
49 |
> Order allow,deny |
50 |
> Allow @LOCAL |
51 |
> </Location> |
52 |
> <Location /admin> |
53 |
> Encryption Required |
54 |
> # Restrict access to the admin pages... |
55 |
> Order allow,deny |
56 |
> Allow localhost |
57 |
> </Location> |
58 |
> <Location /admin/conf> |
59 |
> AuthType Basic |
60 |
> Require user @SYSTEM |
61 |
> # Restrict access to the configuration files... |
62 |
> Order allow,deny |
63 |
> Allow localhost |
64 |
> </Location> |
65 |
> <Policy default> |
66 |
> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job |
67 |
> Purge-Jobs Set-Job-Attributes Create-Job-Subscription |
68 |
> Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job |
69 |
> Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> |
70 |
> Require user @OWNER @SYSTEM |
71 |
> Order deny,allow |
72 |
> </Limit> |
73 |
> <Limit Pause-Printer Resume-Printer Set-Printer-Attributes |
74 |
> Enable-Printer Disable-Printer Pause-Printer-After-Current-Job |
75 |
> Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer |
76 |
> Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer |
77 |
> Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer |
78 |
> CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs |
79 |
> CUPS-Set-Default> |
80 |
> AuthType Basic |
81 |
> Require user @SYSTEM |
82 |
> Order deny,allow |
83 |
> </Limit> |
84 |
> <Limit CUPS-Authenticate-Job> |
85 |
> Require user @OWNER @SYSTEM |
86 |
> Order deny,allow |
87 |
> </Limit> |
88 |
> <Limit All> |
89 |
> Order deny,allow |
90 |
> </Limit> |
91 |
> </Policy> |
92 |
> |
93 |
> |
94 |
> |
95 |
> -- |
96 |
> Kevin O'Gorman, PhD |
97 |
> -- |
98 |
> gentoo-user@g.o mailing list |
99 |
> |
100 |
> |
101 |
-- |
102 |
gentoo-user@g.o mailing list |