[Pkg-cups-devel] Bug#372690: cupsys: Samba doesn't like long CUPS printer names

Ron Murray rjmx at rjmx.net
Sun Jun 11 05:03:41 UTC 2006


Package: cupsys
Version: 1.2.1-2
Severity: wishlist

After upgrading to the latest cupsys package in testing, the CUPS
printer no longer appeared as a samba share (not visible from a
Windows machine nor a Linux box running smbclient).

After spending several hours trying to track the problem down, finally
came across Debian bug #310604, filed against samba, which explains
that names longer than 12 characters don't appear in browse lists
(should have remembered that...). New cupsys package had me recreate
all printers, and offered names like

HP_PSC_2200_Series_USB_1

which wasn't changeable, even if I'd known that I should change it.
Finally changed the printer name in /etc/cups/printers.conf manually
to "HP_PSC_2210", and the printer once more appeared on the Windows
box and from Linux via smbclient.

Perhaps a warning that long filenames don't work well with samba would
be appropriate. It might also help if we could rename a printer from
the web interface (apologies if it's possible, but I couldn't find out
how).

 .....Ron

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.20-cheops-0
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cupsys depends on:
ii  adduser                  3.87            Add and remove users and groups
ii  debconf [debconf-2.0]    1.5.1           Debian configuration management sy
ii  gs-esp                   8.15.1.dfsg.1-2 The Ghostscript PostScript interpr
ii  libacl1                  2.2.37-1        Access control list shared library
ii  libc6                    2.3.6-13        GNU C Library: Shared libraries
ii  libcupsimage2            1.2.1-2         Common UNIX Printing System(tm) - 
ii  libcupsys2               1.2.1-2         Common UNIX Printing System(tm) - 
ii  libdbus-1-2              0.61-6          simple interprocess messaging syst
ii  libgnutls13              1.3.5-1.1       the GNU TLS library - runtime libr
ii  libldap2                 2.1.30-13       OpenLDAP libraries
ii  libpam0g                 0.79-3.1        Pluggable Authentication Modules l
ii  libpaper1                1.1.17          Library for handling paper charact
ii  libslp1                  1.2.1-5         OpenSLP libraries
ii  lsb-base                 3.1-10          Linux Standard Base 3.1 init scrip
ii  patch                    2.5.9-4         Apply a diff file to an original
ii  perl-modules             5.8.8-4         Core Perl modules
ii  procps                   1:3.2.6-2.2     /proc file system utilities
ii  xpdf-utils [poppler-util 3.01-8          Portable Document Format (PDF) sui
ii  zlib1g                   1:1.2.3-11      compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client           1.2.1-2          Common UNIX Printing System(tm) - 
ii  foomatic-filters        3.0.2-20060318-2 linuxprinting.org printer support 
ii  smbclient               3.0.22-1         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: true




More information about the Pkg-cups-devel mailing list