[Pkg-cups-devel] Bug#496501: cups: samba can't see printers with iso-8859-1
Kevin Mitchell
kevmitch at gmail.com
Mon Aug 25 08:47:24 UTC 2008
Package: cups
Version: 1.3.8-1
Severity: normal
Upon a fresh boot, samba can see all printers fine as evidenced by
#rpcclient -c enumprinters localhost
However, if samba is restarted, I see the following message repeated 5 times in /var/log/cups/error_log:
E [22/Aug/2008:02:51:12 -0700] Unsupported character set "iso-8859-1"!
and the command above returns no printers. I found that it was necessary to add
display charset = UTF8
into /etc/samba/smb.conf to force samba to use utf8 even if the system default is iso-8859-1.
That seems to fix things. I would speculate that the reason samba sees
printers on boot is that it is started before the default system locale
is applied.
It would be nice if the above fix were not necessary.
Kevin
-- System Information: Debian Release: lenny/sid APT
prefers testing APT policy: (600, 'testing'), (400, 'unstable'), (300,
'stable'), (200, 'experimental') Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB)
Shell: /bin/sh linked to /bin/bash
Versions of packages cups depends on:
ii adduser 3.108 add and remove users and groups
ii cups-common 1.3.8-1 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii ghostscript 8.62.dfsg.1-3 The GPL Ghostscript PostScript/PDF
ii libavahi-compat-libdn 0.6.23-2 Avahi Apple Bonjour compatibility
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libcups2 1.3.8-1 Common UNIX Printing System(tm) -
ii libcupsimage2 1.3.8-1 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.1-3 simple interprocess messaging syst
ii libgnutls26 2.4.1-1 the GNU TLS library - runtime libr
ii libkrb53 1.6.dfsg.4~beta1-3 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.10-3 OpenLDAP libraries
ii libpam0g 1.0.1-2 Pluggable Authentication Modules l
ii libpaper1 1.1.23+nmu1 library for handling paper charact
ii libslp1 1.2.1-7.3 OpenSLP libraries
ii lsb-base 3.2-19 Linux Standard Base 3.2 init scrip
ii perl-modules 5.10.0-11.1 Core Perl modules
ii poppler-utils [xpdf-u 0.8.4-1.1 PDF utilitites (based on libpopple
ii procps 1:3.2.7-8 /proc file system utilities
ii ssl-cert 1.0.22 simple debconf wrapper for OpenSSL
Versions of packages cups recommends:
ii avahi-utils 0.6.23-2 Avahi browsing, publishing and dis
ii cups-client 1.3.8-1 Common UNIX Printing System(tm) -
ii foomatic-filters 3.0.2-20080211-3.1 OpenPrinting printer support - fil
ii smbclient 2:3.2.0-4 a LanManager-like simple client fo
Versions of packages cups suggests:
ii cups-bsd 1.3.8-1 Common UNIX Printing System(tm) -
pn cups-driver-gutenprint <none> (no description available)
ii cups-pdf 2.4.8-2 PDF printer for CUPS
ii foomatic-db 20080211-2 OpenPrinting printer support - dat
ii foomatic-db-engine 3.0.2-20080211-1 OpenPrinting printer support - pro
ii hplip 2.8.6-2 HP Linux Printing and Imaging Syst
pn xpdf-korean | xpdf-japa <none> (no description available)
-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd
More information about the Pkg-cups-devel
mailing list