[Pkg-samba-maint] Bug#462543: Same problem: samba cannot access cups printers

Graham Cobb g+debian at cobb.uk.net
Thu Jun 12 22:47:53 UTC 2008


Package: samba
Version: 1:3.0.28a-3
Followup-For: Bug #462543

I have just upgraded to the latest samba in lenny and I cannot access any cups
printers.

If I include the lines:

   load printers = yes
   printing = cups
   printcap name = cups

in my smb.conf then no printers are set up.  The smb.log file shows no obvious
errors.

If I change the lines to read:

   load printers = yes
   printing = cups
   printcap name = /var/run/cups/printcap

then the following error is repeated continuously in log.smbd:

[2008/06/12 23:18:29, 0] printing/print_cups.c:cups_queue_get(801)
  Unable to get jobs for ipp://localhost/printers/Epson_R265 - client-error-bad-request
[2008/06/12 23:18:29, 3] printing/printing.c:print_queue_update_internal(1152)
  print_queue_update_internal: 0 jobs in queue for Epson_R265

The cups error log shows:

D [12/Jun/2008:23:32:29 +0100] cupsdReadClient: 26 POST / HTTP/1.1
D [12/Jun/2008:23:32:29 +0100] cupsdAuthorize: No authentication data provided.
E [12/Jun/2008:23:32:29 +0100] Unsupported character set "iso-8859-15"!
D [12/Jun/2008:23:32:29 +0100] Discarding unused server-audit event...
D [12/Jun/2008:23:32:29 +0100] Get-Printer-Attributes client-error-bad-request: Unsupported character set "iso-8859-15"!
D [12/Jun/2008:23:32:29 +0100] cupsdProcessIPPRequest: 26 status_code=400 (client-error-bad-request)
D [12/Jun/2008:23:32:29 +0100] cupsdCloseClient: 26

Note that I can print if I change the config to:

   load printers = yes
   printing = bsd
   printcap name = /var/run/cups/printcap

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_IE at euro, LC_CTYPE=en_IE at euro (charmap=ISO-8859-15) (ignored: LC_ALL set to en_IE at euro)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser                3.107             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.22            Debian configuration management sy
ii  libacl1                2.2.45-1          Access control list shared library
ii  libattr1               1:2.4.41-1        Extended attribute shared library
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcomerr2             1.40.8-2          common error description library
ii  libcupsys2             1.3.7-5           Common UNIX Printing System(tm) - 
ii  libgnutls26            2.2.5-1           the GNU TLS library - runtime libr
ii  libkrb53               1.6.dfsg.3-2      MIT Kerberos runtime libraries
ii  libldap-2.4-2          2.4.7-6.3         OpenLDAP libraries
ii  libpam-modules         0.99.7.1-6        Pluggable Authentication Modules f
ii  libpam-runtime         0.99.7.1-6        Runtime support for the PAM librar
ii  libpam0g               0.99.7.1-6        Pluggable Authentication Modules l
ii  libpopt0               1.10-3            lib for parsing cmdline parameters
ii  logrotate              3.7.1-3           Log rotation utility
ii  lsb-base               3.2-11            Linux Standard Base 3.2 init scrip
ii  procps                 1:3.2.7-8         /proc file system utilities
ii  samba-common           1:3.0.28a-3       Samba common files used by both th
ii  update-inetd           4.30              inetd configuration file updater
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

samba recommends no packages.

-- debconf information:
  samba/nmbd_from_inetd:
  samba/log_files_moved:
  samba/tdbsam: false
* samba/generate_smbpasswd: true
* samba/run_mode: daemons





More information about the Pkg-samba-maint mailing list