Do I need to worry about "cupsdAuthorize: No authentication data provided"

Ed Kasky ed at esson.net
Fri Jan 9 13:34:43 PST 2009


Hello there,

I am new to this forum but not to cups and linux.  Although, I will admit that I am not an expert at debugging error messages - I know just enough to get into trouble ;-)

Server runs FC6 with cups-1.3.9 and just upgraded to samba-3.2.7.  I started noticing the follwing in the samba log:

[2009/01/09 13:14:13,  2] printing/print_cups.c:cups_async_callback(504)
  cups_async_callback: failed to read a new printer list

which apparently coresponds to the following in the cups error log:

D [09/Jan/2009:13:14:13 -0800] cupsdAcceptClient: skipping getpeercon()
D [09/Jan/2009:13:14:13 -0800] cupsdAcceptClient: 8 from localhost (Domain)
D [09/Jan/2009:13:14:13 -0800] Report: clients=1
D [09/Jan/2009:13:14:13 -0800] Report: jobs=499
D [09/Jan/2009:13:14:13 -0800] Report: jobs-active=0
D [09/Jan/2009:13:14:13 -0800] Report: printers=1
D [09/Jan/2009:13:14:13 -0800] Report: printers-implicit=0
D [09/Jan/2009:13:14:13 -0800] Report: stringpool-string-count=1345
D [09/Jan/2009:13:14:13 -0800] Report: stringpool-alloc-bytes=7328
D [09/Jan/2009:13:14:13 -0800] Report: stringpool-total-bytes=15016
D [09/Jan/2009:13:14:13 -0800] cupsdReadClient: 8 POST / HTTP/1.1
D [09/Jan/2009:13:14:13 -0800] cupsdAuthorize: No authentication data provided.
D [09/Jan/2009:13:14:13 -0800] CUPS-Get-Printers
D [09/Jan/2009:13:14:13 -0800] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [09/Jan/2009:13:14:13 -0800] cupsdReadClient: 8 POST / HTTP/1.1
D [09/Jan/2009:13:14:13 -0800] cupsdAuthorize: No authentication data provided.
D [09/Jan/2009:13:14:13 -0800] CUPS-Get-Classes
D [09/Jan/2009:13:14:13 -0800] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [09/Jan/2009:13:14:13 -0800] cupsdCloseClient: 8

I am not sure what I am missing here so any guidance/help is greatly appreciated.

some more specifics:

from smb.conf:
[global]
        load printers = yes
        printing = cups
        printcap name = cups
        cups options = raw

[netlogon]
        comment = Netlogon Share
        path = /shared/netlogon
        write list = ed

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[HP4050]
        comment = HP4050 on Yoda
        path = /var/spool/samba
        guest ok = Yes
        printable = Yes
        printing = cups
        print command =
        lpq command = %p
        lprm command =
        printer name = HP4050

from cupsd.conf
#
# "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $"
#
#   Sample configuration file for the Common UNIX Printing System (CUPS)
#   scheduler.  See "man cupsd.conf" for a complete description of this
#   file.
#
MaxLogSize 2000000000

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel debug

# Administrator user group...
SystemGroup sys root

# Only listen for connections from the local machine.
Listen *.631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
# (Change '@LOCAL' to 'ALL' if using directed broadcasts from another subnet.)
BrowseAllow @LOCAL

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow localhost
  Deny From All
  Allow From 10.10.0.*
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Encryption Required
  Order allow,deny
  Allow localhost
  Allow From 10.10.0.*
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an adminstrator...
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Su
bscription 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
  </Limit>

  # All administration operations require an adminstrator to authenticate...
  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-Af
ter-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shut
down-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Cl
ass CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $".
#


thanks in advance!

Ed




More information about the cups mailing list