Your message dated Sat, 11 Jul 2015 19:00:51 +0100
with message-id <[email protected]>
and subject line Re: Bug#614090: cupsaddsmb fails to add win98 drivers
has caused the Debian Bug report #614090,
regarding cupsaddsmb fails to add win98 drivers
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
614090: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614090
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cups
Version: 1.4.4-7
Severity: normal
Hello,
since upgrading to squeeze cupsaddsmb stopped working:
$ sudo cupsaddsmb -v pdf
Password for root required to access localhost via SAMBA:
Running command: smbclient //localhost/print$ -N -A /tmp/06b6f4d623ea3 -c
'mkdir W32X86;put /tmp/06b6f4d6b96ea W32X86/pdf.ppd;put
/usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put
/usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put
/usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put
/usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
[...]
Running command: rpcclient localhost -N -A /tmp/06b6f4d623ea3 -c 'adddriver
"Windows 4.0"
"pdf:ADOBEPS4.DRV:pdf.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,pdf.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,ICONLIB.DLL"'
result was WERR_INVALID_PARAM
tried to run this manually:
$ rpcclient localhost -U root%blub -c 'adddriver "Windows 4.0"
"pdf:ADOBEPS4.DRV:pdf.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,pdf.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,ICONLIB.DLL"'
lub -c 'adddriver "Windows 4.0"
"pdf:ADOBEPS4.DRV:pdf.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,pdf.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,ICONLIB.DLL"'result
was WERR_INVALID_PARAM
I don't know why, but removing the "NULL" config file parameter seems to help.
$ rpcclient localhost -U root%blub -c 'adddriver "Windows 4.0"
"pdf:ADOBEPS4.DRV:pdf.PPD::ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,pdf.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,ICONLIB.DLL"'
lub -c 'adddriver "Windows 4.0"
"pdf:ADOBEPS4.DRV:pdf.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,pdf.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,ICONLIB.DLL"'
I just worked around this by removing my win98 drivers (the uppercase
ADOBEPS4.DRV ....). cupsaddsmbd will then only add the NT drivers, which works.
I'm not sure whether this is a cups or a samba bug, but I believe most
people will come looking here, because the use cupsaddsmb and may find
this workaround usefull.
Cheers,
Christopher
-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'squeeze-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages cups depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii bc 1.06.95-2 The GNU bc arbitrary precision cal
ii cups-client 1.4.4-7 Common UNIX Printing System(tm) -
ii cups-common 1.4.4-7 Common UNIX Printing System(tm) -
ii cups-ppdc 1.4.4-7 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii ghostscript 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF
ii libavahi-client3 0.6.27-2 Avahi client library
ii libavahi-common3 0.6.27-2 Avahi common library
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcups2 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupscgi1 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupsdriver1 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupsimage2 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupsmime1 1.4.4-7 Common UNIX Printing System(tm) -
ii libcupsppdc1 1.4.4-7 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.24-4 simple interprocess messaging syst
ii libgcc1 1:4.4.5-8 GCC support library
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.8.3+dfsg-4 MIT Kerberos runtime libraries - k
ii libijs-0.35 0.35-7 IJS raster image transport protoco
ii libkrb5-3 1.8.3+dfsg-4 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.23-7 OpenLDAP libraries
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii libpaper1 1.1.24 library for handling paper charact
ii libpoppler5 0.12.4-1.2 PDF rendering library
ii libslp1 1.2.1-7.8 OpenSLP libraries
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii poppler-utils 0.12.4-1.2 PDF utilitites (based on libpopple
ii procps 1:3.2.8-9 /proc file system utilities
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
ii ttf-freefont 20090104-7 Freefont Serif, Sans and Mono True
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages cups recommends:
pn cups-driver-gutenprint <none> (no description available)
ii foomatic-filters 4.0.5-6 OpenPrinting printer support - fil
ii ghostscript-cups 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF
Versions of packages cups suggests:
ii cups-bsd 1.4.4-7 Common UNIX Printing System(tm) -
ii cups-pdf 2.5.0-16 PDF printer for CUPS
ii foomatic-db 20100630-1 OpenPrinting printer support - dat
ii hplip 3.10.6-2 HP Linux Printing and Imaging Syst
ii smbclient 2:3.5.6~dfsg-3 command-line SMB/CIFS clients for
ii udev 164-3 /dev/ and hotplug management daemo
pn xpdf-korean | xpdf-japane <none> (no description available)
-- Configuration Files:
/etc/cups/cupsd.conf [Errno 13] Permission denied: u'/etc/cups/cupsd.conf'
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Upstream sees this as a probable samba problem. Requests for more
testing within Debian have been unanswered. The cups version is older
than the ones in stable and oldstable. All reasons, I would say, for
not keeping this report open.
You may, of course, wish to review the reported problem. It would be
appreciated if any future investigation could be conducted using the
unstable distribution. If considered necessary, this report could be
re-opened or a new bug report, possibly referencing this one, submitted.
Thank you for your report.
Regards,
Brian.
--- End Message ---