[Pkg-samba-maint] [Pkg-cups-devel] Bug#496501: cups: samba can't see printers with iso-8859-1
Martin Pitt
mpitt at debian.org
Mon Sep 1 19:32:32 UTC 2008
reassign 496501 samba 2:3.2.3-2
thanks
Kevin Mitchell [2008-08-25 1:47 -0700]:
> 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"!
Indeed cups has only supported UTF-8 exclusively for ages (since 1.2 I
think). This has been argued with cups upstream for many times, and
isn't going to change.
> 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.
Ideally Samba should only use ASCII and UTF-8 to talk to cups and
configure printers. Tentatively reassigning to samba then, the charset
setting should become a hardcoded default for printer shares (at least
for the cups ones).
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20080901/19aaa954/attachment.pgp
More information about the Pkg-samba-maint
mailing list