CUPS permmission prob - Am I dumb, or is the program dumb?

Gino Relli gino at linux.ca
Thu Nov 18 13:48:34 PST 2004


On Wed, 17 Nov 2004 23:39:33 -0500, angelb wrote:

> Why can't you just use basic authentication?

The computer-illiterates in my household won't be able to comprehend ANY
authentication.
 
> For starter, ybhe gbc yevel <Location /> should be something as simple
> like this:
> 
> <Location />
> Order deny,allow
> Deny From All
> Allow From All
> </Location>
> 
> That and coupled with basic authentication for <Location /printers> and
> <Location /admin> should be just fine. Unless you're employing the
> highest security possible, which I think is where you're having problem
> at the moment.

Done.  No difference. No password asked. No username asked. I was able to
manually install a printer by editing the "printers.conf" file.

d [18/Nov/2004:21:32:30 +0000] SendBrowseList: (68 bytes) 6 3
ipp://localhost:631/printers/canon "relli" "BJC-3000" "Unknown" d
[18/Nov/2004:21:32:30 +0000] select_timeout: 31 seconds to send browse
update d [18/Nov/2004:21:32:30 +0000] UpdateCUPSBrowse: (68 bytes from
127.0.0.255) 6 3 ipp://localhost:631/printers/canon "relli" "BJC-3000"
"Unknown"
                ----------------------------
However, i am unable to associate the printer with the appropriate PPD
file (which resides in /etc/cups/ppd) I also renamed the ppd file to
"lp0.ppd"

$ /usr/local/sbin/lpadmin -p canon -E -P /etc/cups/ppd/lp0.ppd -v
canon:/dev/lp0
lpadmin: add-printer (enable) failed: client-error-not-authorized

Is there a way to associate the PPD file manually from "printers.conf" ?
                ----------------------------
When trying to print a test page from the "web-interface" ...
 
D [18/Nov/2004:21:39:04 +0000] StartJob: Sending job to queue tagged as raw...
D [18/Nov/2004:21:39:04 +0000] job-sheets=none,none
D [18/Nov/2004:21:39:04 +0000] banner_page = 0
D [18/Nov/2004:21:39:04 +0000] StartJob: argv = "canon","1","","Test Page","1","","/var/spool/cups/d00001-001"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[0]="PATH=/usr/local/lib/cups/filter:/bin:/usr/bin"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[2]="USER=root"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[3]="CHARSET=utf-8"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[4]="LANG=en"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[5]="TZ=America/Vancouver"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[6]="PPD=/etc/cups/ppd/canon.ppd"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[7]="CUPS_SERVERROOT=/etc/cups"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[8]="RIP_MAX_CACHE=64m"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[9]="TMPDIR=/var/spool/cups/tmp"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[10]="CONTENT_TYPE=application/postscript"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[11]="DEVICE_URI=canon:/dev/lp0"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[12]="PRINTER=canon"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[13]="CUPS_DATADIR=/usr/local/share/cups"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[14]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[15]="CUPS_SERVER=localhost"
D [18/Nov/2004:21:39:04 +0000] StartJob: envp[16]="IPP_PORT=631"
D [18/Nov/2004:21:39:04 +0000] StartJob: statusfds = [ 14 15 ]
D [18/Nov/2004:21:39:04 +0000] StartJob: filterfds[1] = [ 16 -1 ]
D [18/Nov/2004:21:39:04 +0000] StartJob: backend = "/usr/local/lib/cups/backend/canon"
D [18/Nov/2004:21:39:04 +0000] StartJob: filterfds[0] = [ -1 17 ]
D [18/Nov/2004:21:39:04 +0000] start_process("/usr/local/lib/cups/backend/canon", 0xbffed1c0, 0xbffec530, 16, 17, 15)
I [18/Nov/2004:21:39:04 +0000] Started backend /usr/local/lib/cups/backend/canon (PID 19196) for job 1.
d [18/Nov/2004:21:39:04 +0000] StartJob: Closing print pipes [ -1 -1 ]...
d [18/Nov/2004:21:39:04 +0000] StartJob: Closing back pipes [ 12 13 ]...
d [18/Nov/2004:21:39:04 +0000] StartJob: Closing filter pipes for slot 0 [ -1 17 ]...
d [18/Nov/2004:21:39:04 +0000] StartJob: Closing status output pipe 15...
d [18/Nov/2004:21:39:04 +0000] StartJob: Adding fd 14 to InputSet...
d [18/Nov/2004:21:39:04 +0000] add_job_state_reasons(0x404f22d8[8], 1)
D [18/Nov/2004:21:39:04 +0000] ProcessIPPRequest: 8 status_code=0
d [18/Nov/2004:21:39:04 +0000] ProcessIPPRequest: Adding fd 8 to OutputSet...
d [18/Nov/2004:21:39:04 +0000] WriteClient: Removing fd 8 from OutputSet...
d [18/Nov/2004:21:39:04 +0000] PID 19195 exited with no errors.

                ----------------------------
> Oh, and if you do use basic authentication, you need to add your account
> to group sys so.

This is done in /etc/group?
Do I add my login account, or the accounts listed in the cupsd.conf file
(lp,sys,remroot) ?


> Gino Relli wrote:
>> Anyone have this problem?
>> I have a custom linux install (all-from-source)
>>
>> I just finished compiling and installing the latest versions of:
>>
>> CUPS
>> Omni
>> Foomatic
>> Espgs
>> Ghostscript
>> Gimp
>> gimp-print
>> gv
>>
>> $ cups-config --libs --cflags --ldflags --api-version --version -lcups
>> -lssl -lcrypto -lnsl
>> -I/usr/local/include
>> -Wl,-rpath,/usr/local/lib -L/usr/local/lib 1.2 1.2.0b1
>>
>> Everything compiled and installed without errors.
>>
>> After setting up /etc/cupsd.conf and starting the cups server, I am
>> unable to add ANY printers - The error I get is:
>> --client-error-not-authorized--
>>
>> Anyone see a problem below?
>> Anyone have a fix or workaround?
>>
>> Gino-------->
>> gino at linux.ca
>>
>> -------------------------------------------------------------
>>
>> Please find attached "/etc/cupsd.conf"
>>
>> ServerName localhost
>> ServerAdmin root at localhost
>> RemoteRoot lp
>> SystemGroup sys
>> User lp
>> Group sys
>> Classification none
>>
>> DefaultCharset UTF-8
>> DefaultLanguage en
>>
>> Printcap /etc/printcap
>> PrintcapFormat BSD
>> DataDir /usr/local/share/cups
>> DocumentRoot /usr/local/share/doc/cups #FontPath
>> /usr/local/share/cups/fonts RequestRoot /var/spool/cups ServerBin
>> /usr/local/lib/cups
>> ServerRoot /etc/cups
>>
>> MaxClients 100
>> MaxRequestSize 0m
>>
>> Listen 127.0.0.1:631
>> Browsing On
>> BrowseProtocols all
>> BrowsePort 631
>> BrowseAddress 127.0.0.255
>>
>> LogLevel debug2
>>
>> PreserveJobHistory On
>> AutoPurgeJobs Yes
>>
>> RIPCache 64m
>>
>> <Location />
>> Order deny,allow
>> Deny From All
>> Allow From 127.0.0.1 192.168.0.1
>> AuthType None
>> </Location>
>>
>> <Location /admin>
>> Order deny,allow
>> Deny From All
>> Allow From 127.0.0.1 192.168.0.1
>> AuthType None
>> </Location>
>>
>> <Location /jobs>
>> Order deny,allow
>> Deny From All
>> Allow From 127.0.0.1 192.168.0.1
>> AuthType None
>> </Location>
>>
>> <Location /printers>
>> Order deny,allow
>> Deny From All
>> Allow From 127.0.0.1 192.168.0.1
>> AuthType None
>> </Location>
>>
>> ....and the relevent information from "/var/log/cups/error_log"
>>
>> D [26/Oct/2004:01:46:03 +0000] ProcessIPPRequest: 5 status_code=0 d
>> [26/Oct/2004:01:46:03 +0000] ProcessIPPRequest: Adding fd 5 to
>> OutputSet... d [26/Oct/2004:01:46:03 +0000] ReadClient: 6, used=0,
>> file=-1 D [26/Oct/2004:01:46:03 +0000] ReadClient: 6 GET /cups.css
>> HTTP/1.1 d [26/Oct/2004:01:46:03 +0000] decode_auth(0x404e9cbc):
>> Authorization string = ""
>> d [26/Oct/2004:01:46:03 +0000] decode_auth: 6 username="" d
>> [26/Oct/2004:01:46:03 +0000] get_file: 6
>> filename=/usr/local/share/doc/cups/ cups.css size=87 d
>> [26/Oct/2004:01:46:03 +0000] IsCGI(con=0x404e9cbc,
>> filename="/usr/local/share/ doc/cups/cups.css", filestats=0xbfff1730,
>> type=text/plain) d [26/Oct/2004:01:46:03 +0000] IsCGI: Returning 0... d
>> [26/Oct/2004:01:46:03 +0000] check_if_modified: 6
>> If-Modified-Since="Mon, 18 Oct 2004 18:24:39 GMT" d
>> [26/Oct/2004:01:46:03 +0000] check_if_modified: 6 sizes=0,87
>> dates=1098123879, 1098123879
>> D [26/Oct/2004:01:46:03 +0000] SendError: 6 code=304 (Not Modified) d
>> [26/Oct/2004:01:46:03 +0000] ReadClient: 8, used=0, file=-1 D
>> [26/Oct/2004:01:46:03 +0000] ReadClient: 8 GET /images/navbar.gif
>> HTTP/1.1 d [26/Oct/2004:01:46:03 +0000] decode_auth(0x404ec970):
>> Authorization string = ""
>> d [26/Oct/2004:01:46:03 +0000] decode_auth: 8 username="" d
>> [26/Oct/2004:01:46:03 +0000] get_file: 8
>> filename=/usr/local/share/doc/cups/ images/navbar.gif size=2869 d
>> [26/Oct/2004:01:46:03 +0000] IsCGI(con=0x404ec970,
>> filename="/usr/local/share/ doc/cups/images/navbar.gif",
>> filestats=0xbfff1730, type=image/gif) d [26/Oct/2004:01:46:03 +0000]
>> IsCGI: Returning 0... d [26/Oct/2004:01:46:03 +0000] check_if_modified:
>> 8 If-Modified-Since="Mon, 18 Oct 2004 18:24:43 GMT" d
>> [26/Oct/2004:01:46:03 +0000] check_if_modified: 8 sizes=0,2869
>> dates=1098123883,1098123883 D [26/Oct/2004:01:46:03 +0000] SendError: 8
>> code=304 (Not Modified) d [26/Oct/2004:01:46:32 +0000] WriteClient:
>> Removing fd 5 from OutputSet... d [26/Oct/2004:01:46:32 +0000]
>> WriteClient: 10 2048 bytes d [26/Oct/2004:01:46:32 +0000] ReadClient:
>> 9, used=0, file=-1 D [26/Oct/2004:01:46:32 +0000] ReadClient: 9 GET
>> /images/left.gif HTTP/1.1 d [26/Oct/2004:01:46:32 +0000]
>> decode_auth(0x404e7008): Authorization string = "" d
>> [26/Oct/2004:01:46:32 +0000] decode_auth: 9 username="" d
>> [26/Oct/2004:01:46:32 +0000] get_file: 9
>> filename=/usr/local/share/doc/cups/ images/left.gif size=110 d
>> [26/Oct/2004:01:46:32 +0000] IsCGI(con=0x404e7008,
>> filename="/usr/local/share/ doc/cups/images/left.gif",
>> filestats=0xbfff1730, type=image/gif) d [26/Oct/2004:01:46:32 +0000]
>> IsCGI: Returning 0... d [26/Oct/2004:01:46:32 +0000] check_if_modified:
>> 9 If-Modified-Since="Mon, 18 Oct 2004 18:24:43 GMT" d
>> [26/Oct/2004:01:46:32 +0000] check_if_modified: 9 sizes=0,110
>> dates=1098123883,1098123883 D [26/Oct/2004:01:46:32 +0000] SendError: 9
>> code=304 (Not Modified) d [26/Oct/2004:01:46:32 +0000] ReadClient: 6,
>> used=0, file=-1 D [26/Oct/2004:01:46:32 +0000] ReadClient: 6 GET
>> /images/right.gif HTTP/1.1 d [26/Oct/2004:01:46:32 +0000]
>> decode_auth(0x404e9cbc): Authorization string = "" d
>> [26/Oct/2004:01:46:32 +0000] decode_auth: 6 username="" d
>> [26/Oct/2004:01:46:32 +0000] get_file: 6
>> filename=/usr/local/share/doc/cups/ images/right.gif size=145 d
>> [26/Oct/2004:01:46:32 +0000] IsCGI(con=0x404e9cbc,
>> filename="/usr/local/share/ doc/cups/images/right.gif",
>> filestats=0xbfff1730, type=image/gif) d [26/Oct/2004:01:46:32 +0000]
>> IsCGI: Returning 0... d [26/Oct/2004:01:46:32 +0000] check_if_modified:
>> 6 If-Modified-Since="Mon, 18 Oct 2004 18:24:43 GMT" d
>> [26/Oct/2004:01:46:32 +0000] check_if_modified: 6 sizes=0,145
>> dates=1098123883,1098123883 D [26/Oct/2004:01:46:32 +0000] SendError: 6
>> code=304 (Not Modified) d [26/Oct/2004:01:46:32 +0000] WriteClient: 10
>> 2048 bytes d [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:33 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:34 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:34 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:34 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:34 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:34 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:34 +0000] PID 5610 exited with no errors. d
>> [26/Oct/2004:01:46:34 +0000] DeleteCert: removing certificate for pid
>> 5610 d [26/Oct/2004:01:46:34 +0000] WriteClient: 10 2048 bytes d
>> [26/Oct/2004:01:46:34 +0000] ReadClient: 5, used=0, file=-1 d
>> [26/Oct/2004:01:46:34 +0000] ReadClient: httpGets returned EOF... D
>> [26/Oct/2004:01:46:34 +0000] CloseClient: 5 d [26/Oct/2004:01:46:34
>> +0000] CloseClient: Removing fd 5 from InputSet and OutputSet... d
>> [26/Oct/2004:01:46:35 +0000] WriteClient: 10 1697 bytes d
>> [26/Oct/2004:01:46:35 +0000] ReadClient: 8, used=0, file=-1 D
>> [26/Oct/2004:01:46:35 +0000] ReadClient: 8 GET /images/continue.gif
>> HTTP/1.1 d [26/Oct/2004:01:46:35 +0000] decode_auth(0x404ec970):
>> Authorization string = ""
>> d [26/Oct/2004:01:46:35 +0000] decode_auth: 8 username="" d
>> [26/Oct/2004:01:46:35 +0000] get_file: 8
>> filename=/usr/local/share/doc/cups/ images/continue.gif size=224 d
>> [26/Oct/2004:01:46:35 +0000] IsCGI(con=0x404ec970,
>> filename="/usr/local/share/ doc/cups/images/continue.gif",
>> filestats=0xbfff1730, type=image/gif) d [26/Oct/2004:01:46:35 +0000]
>> IsCGI: Returning 0... d [26/Oct/2004:01:46:35 +0000] check_if_modified:
>> 8 If-Modified-Since="Mon, 18 Oct 2004 18:24:42 GMT" d
>> [26/Oct/2004:01:46:35 +0000] check_if_modified: 8 sizes=0,224
>> dates=1098123882,1098123882 D [26/Oct/2004:01:46:35 +0000] SendError: 8
>> code=304 (Not Modified) d [26/Oct/2004:01:46:35 +0000] WriteClient:
>> Removing fd 10 from OutputSet... d [26/Oct/2004:01:46:35 +0000]
>> WriteClient: Removing fd 12 from InputSet... d [26/Oct/2004:01:46:35
>> +0000] WriteClient() 10 Closing data file 12. d [26/Oct/2004:01:46:35
>> +0000] WriteClient() 10 Removing temp file /var/spool/ cups/00000002 d
>> [26/Oct/2004:01:46:36 +0000] select_timeout: 188 seconds to update root
>> certificate
>> d [26/Oct/2004:01:48:17 +0000] AcceptClient(lis=0x808f780) 0 NumClients
>> = 4 D [26/Oct/2004:01:48:17 +0000] AcceptClient: 5 from localhost:631.
>> d [26/Oct/2004:01:48:17 +0000] AcceptClient: Adding fd 5 to InputSet...
>> d [26/Oct/2004:01:48:17 +0000] ReadClient: 5, used=0, file=-1 D
>> [26/Oct/2004:01:48:17 +0000] ReadClient: 5 POST /admin HTTP/1.1 d
>> [26/Oct/2004:01:48:17 +0000] decode_auth(0x404f22d8): Authorization
>> string = ""
>> d [26/Oct/2004:01:48:17 +0000] decode_auth: 5 username="" d
>> [26/Oct/2004:01:48:17 +0000] POST /admin d [26/Oct/2004:01:48:17 +0000]
>> CONTENT_TYPE = application/x-www-form-urlencoded d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: 5
>> command="/usr/local/lib/cups/cgi- bin/admin.cgi", options = "admin" d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: 5 con->data_encoding = length,
>> con-
>> >data_remaining = 206, con->file = -1
>> d [26/Oct/2004:01:48:17 +0000] ReadClient: 5 REQUEST
>> /var/spool/cups/00000003=11 d [26/Oct/2004:01:48:17 +0000] ReadClient:
>> 5 writing 206 bytes to 11 d [26/Oct/2004:01:48:17 +0000] ReadClient: 5
>> Closing data file 11, size = 206. d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: command="/usr/local/lib/cups/cgi- bin/admin.cgi",
>> options="admin"
>> d [26/Oct/2004:01:48:17 +0000] pipe_command: argv[0] = "admin" d
>> [26/Oct/2004:01:48:17 +0000] pipe_command: envp[0] =
>> "PATH=/bin:/usr/bin" d [26/Oct/2004:01:48:17 +0000] pipe_command:
>> envp[1] = "SERVER_SOFTWARE=CUPS/1. 1" d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: envp[2] = "GATEWAY_INTERFACE=CGI/1. 1" d
>> [26/Oct/2004:01:48:17 +0000] pipe_command: envp[3] =
>> "SERVER_PROTOCOL=HTTP/1. 1"
>> d [26/Oct/2004:01:48:17 +0000] pipe_command: envp[4] =
>> "REDIRECT_STATUS=1" d [26/Oct/2004:01:48:17 +0000] pipe_command:
>> envp[5] = "CUPS_SERVER=localhost" d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: envp[6] = "IPP_PORT=631" d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: envp[7] = "SERVER_NAME=localhost" d [26/Oct/2004:01:48:17
>> +0000] pipe_command: envp[8] = "SERVER_PORT=631" d
>> [26/Oct/2004:01:48:17 +0000] pipe_command: envp[9] =
>> "REMOTE_ADDR=127.0.0.1" d [26/Oct/2004:01:48:17 +0000] pipe_command:
>> envp[10] = "REMOTE_HOST=localhost" d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: envp[11] = "REMOTE_USER=" d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: envp[12] = "LANG=en.UTF-8" d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: envp[13] = "TZ=America/Vancouver" d [26/Oct/2004:01:48:17
>> +0000] pipe_command: envp[14] = "TMPDIR=/var/spool/cups/ tmp" d
>> [26/Oct/2004:01:48:17 +0000] pipe_command: envp[15] =
>> "CUPS_DATADIR=/usr/ local/share/cups" d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: envp[16] = "CUPS_SERVERROOT=/etc/ cups" d
>> [26/Oct/2004:01:48:17 +0000] pipe_command: envp[17] =
>> "HTTP_USER_AGENT=Opera/ 7.54 (X11; Linux i586; U)  [en]" d
>> [26/Oct/2004:01:48:17 +0000] pipe_command: envp[18] =
>> "SCRIPT_NAME=/admin" d [26/Oct/2004:01:48:17 +0000] pipe_command:
>> envp[19] = "REQUEST_METHOD=POST" d [26/Oct/2004:01:48:17 +0000]
>> pipe_command: envp[20] = "CONTENT_LENGTH=206" d [26/Oct/2004:01:48:17
>> +0000] pipe_command: envp[21] =
>> "CONTENT_TYPE=application/x-www-form-urlencoded" d
>> [26/Oct/2004:01:48:17 +0000] pipe_command: envp[22] =
>> "CUPS_ENCRYPTION=IfRequested"
>> d [26/Oct/2004:01:48:17 +0000] AddCert: adding certificate for pid 5612
>> D [26/Oct/2004:01:48:17 +0000] CGI
>> /usr/local/lib/cups/cgi-bin/admin.cgi started - PID = 5612 I
>> [26/Oct/2004:01:48:17 +0000] Started
>> "/usr/local/lib/cups/cgi-bin/admin.cgi" (pid=5612) D
>> [26/Oct/2004:01:48:17 +0000] SendCommand: 5 file=12 d
>> [26/Oct/2004:01:48:17 +0000] SendCommand: Adding fd 12 to InputSet... d
>> [26/Oct/2004:01:48:17 +0000] SendCommand: Adding fd 5 to OutputSet... d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: 9, used=0, file=-1 d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: httpGets returned EOF... D
>> [26/Oct/2004:01:48:17 +0000] CloseClient: 9 d [26/Oct/2004:01:48:17
>> +0000] CloseClient: Removing fd 9 from InputSet and OutputSet... d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: 6, used=0, file=-1 d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: httpGets returned EOF... D
>> [26/Oct/2004:01:48:17 +0000] CloseClient: 6 d [26/Oct/2004:01:48:17
>> +0000] CloseClient: Removing fd 6 from InputSet and OutputSet... d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: 8, used=0, file=-1 d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: httpGets returned EOF... D
>> [26/Oct/2004:01:48:17 +0000] CloseClient: 8 d [26/Oct/2004:01:48:17
>> +0000] CloseClient: Removing fd 8 from InputSet and OutputSet... d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: 10, used=0, file=-1 d
>> [26/Oct/2004:01:48:17 +0000] ReadClient: httpGets returned EOF... D
>> [26/Oct/2004:01:48:17 +0000] CloseClient: 10 d [26/Oct/2004:01:48:17
>> +0000] CloseClient: Removing fd 10 from InputSet and OutputSet... d
>> [26/Oct/2004:01:48:21 +0000] AcceptClient(lis=0x808f780) 0 NumClients =
>> 1 D [26/Oct/2004:01:48:21 +0000] AcceptClient: 6 from localhost:631. d
>> [26/Oct/2004:01:48:21 +0000] AcceptClient: Adding fd 6 to InputSet... d
>> [26/Oct/2004:01:48:21 +0000] WriteClient: 5 Content-Type: text/html;
>> charset=utf-8
>> d [26/Oct/2004:01:48:21 +0000] WriteClient: 5 d [26/Oct/2004:01:48:21
>> +0000] WriteClient: 5 1168 bytes d [26/Oct/2004:01:48:21 +0000]
>> ReadClient: 6, used=0, file=-1 D [26/Oct/2004:01:48:21 +0000]
>> ReadClient: 6 POST /admin/ HTTP/1.1 d [26/Oct/2004:01:48:21 +0000]
>> decode_auth(0x404e9cbc): Authorization string = "" d
>> [26/Oct/2004:01:48:21 +0000] decode_auth: 6 username="" d
>> [26/Oct/2004:01:48:21 +0000] POST /admin/ d [26/Oct/2004:01:48:21
>> +0000] CONTENT_TYPE = application/ipp d [26/Oct/2004:01:48:21 +0000]
>> ReadClient: 6 con->data_encoding = length, con-
>> >data_remaining = 306, con->file = -1
>> d [26/Oct/2004:01:48:21 +0000] ProcessIPPRequest:
>> URI="ipp://localhost/printers/ canon" d [26/Oct/2004:01:48:21 +0000]
>> add_printer(6, ipp://localhost/printers/canon) d [26/Oct/2004:01:48:21
>> +0000] CheckPolicy: op=4003, name="anonymous", authenticated=0,
>> owner="" d [26/Oct/2004:01:48:21 +0000] CheckPolicy: Operation requires
>> authentication, returning 0!
>> E [26/Oct/2004:01:48:21 +0000] add_printer: not authorized! d
>> [26/Oct/2004:01:48:21 +0000] send_ipp_error(6, 403) D
>> [26/Oct/2004:01:48:21 +0000] Sending error: client-error-not-authorized
>> D [26/Oct/2004:01:48:21 +0000] ProcessIPPRequest: 6 status_code=403 d
>> [26/Oct/2004:01:48:21 +0000] ProcessIPPRequest: Adding fd 6 to
>> OutputSet... d [26/Oct/2004:01:48:21 +0000] WriteClient: Removing fd 6
>> from OutputSet... d [26/Oct/2004:01:48:22 +0000]
>> AcceptClient(lis=0x808f780) 0 NumClients = 2 D [26/Oct/2004:01:48:22
>> +0000] AcceptClient: 8 from localhost:631. d [26/Oct/2004:01:48:22
>> +0000] AcceptClient: Adding fd 8 to InputSet... d [26/Oct/2004:01:48:22
>> +0000] ReadClient: 8, used=0, file=-1 D [26/Oct/2004:01:48:22 +0000]
>> ReadClient: 8 GET /cups.css HTTP/1.1 d [26/Oct/2004:01:48:22 +0000]
>> decode_auth(0x404ec970): Authorization string = "" d
>> [26/Oct/2004:01:48:22 +0000] decode_auth: 8 username="" d
>> [26/Oct/2004:01:48:22 +0000] get_file: 8
>> filename=/usr/local/share/doc/cups/ cups.css size=87 d
>> [26/Oct/2004:01:48:22 +0000] IsCGI(con=0x404ec970,
>> filename="/usr/local/share/ doc/cups/cups.css", filestats=0xbfff1730,
>> type=text/plain) d [26/Oct/2004:01:48:22 +0000] IsCGI: Returning 0... d
>> [26/Oct/2004:01:48:22 +0000] check_if_modified: 8
>> If-Modified-Since="Mon, 18 Oct 2004 18:24:39 GMT" d
>> [26/Oct/2004:01:48:22 +0000] check_if_modified: 8 sizes=0,87
>> dates=1098123879, 1098123879
>> D [26/Oct/2004:01:48:22 +0000] SendError: 8 code=304 (Not Modified) d
>> [26/Oct/2004:01:48:22 +0000] ReadClient: 8, used=0, file=-1 D
>> [26/Oct/2004:01:48:22 +0000] ReadClient: 8 GET /images/navbar.gif
>> HTTP/1.1 d [26/Oct/2004:01:48:22 +0000] decode_auth(0x404ec970):
>> Authorization string = ""
>> d [26/Oct/2004:01:48:22 +0000] decode_auth: 8 username="" d
>> [26/Oct/2004:01:48:22 +0000] get_file: 8
>> filename=/usr/local/share/doc/cups/ images/navbar.gif size=2869 d
>> [26/Oct/2004:01:48:22 +0000] IsCGI(con=0x404ec970,
>> filename="/usr/local/share/ doc/cups/images/navbar.gif",
>> filestats=0xbfff1730, type=image/gif) d [26/Oct/2004:01:48:22 +0000]
>> IsCGI: Returning 0... d [26/Oct/2004:01:48:22 +0000] check_if_modified:
>> 8 If-Modified-Since="Mon, 18 Oct 2004 18:24:43 GMT" d
>> [26/Oct/2004:01:48:22 +0000] check_if_modified: 8 sizes=0,2869
>> dates=1098123883,1098123883 D [26/Oct/2004:01:48:22 +0000] SendError: 8
>> code=304 (Not Modified) d [26/Oct/2004:01:48:22 +0000] PID 5612 exited
>> with no errors. d [26/Oct/2004:01:48:22 +0000] DeleteCert: removing
>> certificate for pid 5612 d [26/Oct/2004:01:48:22 +0000] ReadClient: 6,
>> used=0, file=-1 d [26/Oct/2004:01:48:22 +0000] ReadClient: httpGets
>> returned EOF... D [26/Oct/2004:01:48:22 +0000] CloseClient: 6 d
>> [26/Oct/2004:01:48:22 +0000] CloseClient: Removing fd 6 from InputSet
>> and OutputSet... d [26/Oct/2004:01:48:23 +0000] WriteClient: Removing
>> fd 5 from OutputSet... d [26/Oct/2004:01:48:23 +0000] WriteClient:
>> Removing fd 12 from InputSet... d [26/Oct/2004:01:48:23 +0000]
>> WriteClient() 5 Closing data file 12. d [26/Oct/2004:01:48:23 +0000]
>> WriteClient() 5 Removing temp file /var/spool/ cups/00000003 d
>> [26/Oct/2004:01:48:24 +0000] select_timeout: 80 seconds to update root
>> certificate
>> d [26/Oct/2004:01:49:44 +0000] DeleteCert: removing certificate for pid
>> 0 d [26/Oct/2004:01:49:44 +0000] AddCert: adding certificate for pid 0
>> d [26/Oct/2004:01:49:44 +0000] select_timeout: 219 seconds to timeout a
>> client connection




More information about the cups mailing list