[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#343518: "AuthType None" not working for job management



Package: cupsys
Version: 1.1.23-13
Severity: normal

When I have:

<Location /jobs> 
AuthType None 
Allow From All 
</Location> 

in cupsd.conf, then whenever I try to do anything with a job I get a
"client-error-forbidden" error. I'd thought that "AuthType None" would
mean "all requests are accepted" not "all requests are denied". If I
put "AuthClass User" in that stanza then it works, but I have to enter
a username and password which I had been trying to avoid doing.

Here is part of /var/log/cups/error_log:

d [15/Dec/2005:20:06:06 +0000] ProcessIPPRequest(0xb7878870[6]): operation_id = 000e
d [15/Dec/2005:20:06:06 +0000] ProcessIPPRequest: URI="ipp://localhost/jobs/1"
d [15/Dec/2005:20:06:06 +0000] restart_job(0xb7878870[6], ipp://localhost/jobs/1)
d [15/Dec/2005:20:06:06 +0000] validate_user(0xb7878870[6], "frederik", 0xbfc91aa8, 1024)
d [15/Dec/2005:20:06:06 +0000] GetMD5Passwd(username="", group="lpadmin", passwd=0xbfc9122b)
E [15/Dec/2005:20:06:06 +0000] Unable to open /etc/cups/passwd.md5 - No such file or directory
E [15/Dec/2005:20:06:06 +0000] restart_job: "" not authorized to restart job id 1 owned by "frederik"!
d [15/Dec/2005:20:06:06 +0000] send_ipp_error(0xb7878870[6], 401)
D [15/Dec/2005:20:06:06 +0000] Sending error: client-error-forbidden

Frederik

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages cupsys depends on:
ii  adduser               3.67               Add and remove users and groups
ii  debconf [debconf-2.0] 1.4.58             Debian configuration management sy
ii  gs-esp                8+8.15rc4.dfsg.1-2 The Ghostscript PostScript interpr
ii  libc6                 2.3.5-8            GNU C Library: Shared libraries an
ii  libcupsimage2         1.1.23-10          Common UNIX Printing System(tm) - 
ii  libcupsys2            1.1.23-12          Common UNIX Printing System(tm) - 
ii  libgnutls12           1.2.6-1            the GNU TLS library - runtime libr
ii  libpam0g              0.76-23            Pluggable Authentication Modules l
ii  libpaper1             1.1.14-3           Library for handling paper charact
ii  libslp1               1.2.1-3            OpenSLP libraries
ii  patch                 2.5.9-2            Apply a diff file to an original
ii  perl-modules          5.8.7-8            Core Perl modules
ii  procps                1:3.2.5-1          /proc file system utilities
ii  xpdf-utils            3.01-1             Portable Document Format (PDF) sui
ii  zlib1g                1:1.2.3-3          compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client           1.1.23-13        Common UNIX Printing System(tm) - 
ii  foomatic-filters        3.0.2-20050720-1 linuxprinting.org printer support 
ii  smbclient               3.0.14a-6        a LanManager-like simple client fo

-- debconf information:
  cupsys/raw-print: true
* cupsys/ports: 631
  cupsys/backend: ipp, lpd, parallel, socket, usb
* cupsys/portserror:
* cupsys/browse: false




Reply to: