1 |
Hi List, |
2 |
|
3 |
I have got a problem with printing. |
4 |
|
5 |
Cups logs are showing "Create-Job successful-ok" and "Send-Document |
6 |
successful-ok" if I print as root and "Create-Job |
7 |
client-error-not-authorized" if I print as a regular user. |
8 |
|
9 |
Cups jobs are showing root's commands: |
10 |
EPSON_Stylus_Photo_2100-6 news_1 root 2k 1 completed at |
11 |
Sun Mar 25 00:39:25 2012 |
12 |
|
13 |
BUT in both cases nothing is being printed. |
14 |
|
15 |
Root and the user are added to the lp group. |
16 |
|
17 |
Please tell me what could I have missed? |
18 |
|
19 |
My /etc/cup/cupsd.conf is the default one: |
20 |
|
21 |
LogLevel warn |
22 |
SystemGroup lpadmin |
23 |
Listen localhost:631 |
24 |
Listen /var/run/cups/cups.sock |
25 |
Browsing On |
26 |
BrowseOrder allow,deny |
27 |
BrowseAllow all |
28 |
BrowseLocalProtocols CUPS |
29 |
DefaultAuthType None |
30 |
<Location /> |
31 |
Order allow,deny |
32 |
</Location> |
33 |
<Location /admin> |
34 |
Order allow,deny |
35 |
</Location> |
36 |
<Location /admin/conf> |
37 |
AuthType Default |
38 |
Require user @SYSTEM |
39 |
Order allow,deny |
40 |
</Location> |
41 |
<Policy default> |
42 |
<Limit Create-Job Print-Job Print-URI Validate-Job> |
43 |
Order deny,allow |
44 |
</Limit> |
45 |
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job |
46 |
Purge-Jobs Set-Job-Attributes Create-Job-Subscription |
47 |
Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job |
48 |
Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job |
49 |
CUPS-Get-Document> |
50 |
Require user @OWNER @SYSTEM |
51 |
Order deny,allow |
52 |
</Limit> |
53 |
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer |
54 |
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default |
55 |
CUPS-Get-Devices> |
56 |
AuthType Default |
57 |
Require user @SYSTEM |
58 |
Order deny,allow |
59 |
</Limit> |
60 |
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer |
61 |
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs |
62 |
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer |
63 |
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs |
64 |
CUPS-Reject-Jobs> |
65 |
AuthType Default |
66 |
Require user @SYSTEM |
67 |
Order deny,allow |
68 |
</Limit> |
69 |
<Limit Cancel-Job CUPS-Authenticate-Job> |
70 |
Require user @OWNER @SYSTEM |
71 |
Order deny,allow |
72 |
</Limit> |
73 |
<Limit All> |
74 |
Order deny,allow |
75 |
</Limit> |
76 |
</Policy> |
77 |
<Policy authenticated> |
78 |
<Limit Create-Job Print-Job Print-URI Validate-Job> |
79 |
AuthType Default |
80 |
Order deny,allow |
81 |
</Limit> |
82 |
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job |
83 |
Purge-Jobs Set-Job-Attributes Create-Job-Subscription |
84 |
Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job |
85 |
Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job |
86 |
CUPS-Get-Document> |
87 |
AuthType Default |
88 |
Require user @OWNER @SYSTEM |
89 |
Order deny,allow |
90 |
</Limit> |
91 |
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer |
92 |
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> |
93 |
AuthType Default |
94 |
Require user @SYSTEM |
95 |
Order deny,allow |
96 |
</Limit> |
97 |
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer |
98 |
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs |
99 |
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer |
100 |
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs |
101 |
CUPS-Reject-Jobs> |
102 |
AuthType Default |
103 |
Require user @SYSTEM |
104 |
Order deny,allow |
105 |
</Limit> |
106 |
<Limit Cancel-Job CUPS-Authenticate-Job> |
107 |
AuthType Default |
108 |
Require user @OWNER @SYSTEM |
109 |
Order deny,allow |
110 |
</Limit> |
111 |
<Limit All> |
112 |
Order deny,allow |
113 |
</Limit> |
114 |
</Policy> |
115 |
|
116 |
-- |
117 |
Regards, |
118 |
Alex |