[Pkg-samba-maint] Bug#566245: samba: On wxp client, network printer switches itself to "Use printer offline", this cannot be reversed afterwards except by deleting/reinstalling printer

Pierre-Yves Paulus py at idlum.be
Fri Jan 22 12:12:00 UTC 2010


Package: samba
Version: 2:3.2.5-4lenny7
Severity: important


Samba is used as a PDC. Amongst other things, it offers access to several network printers,
through cups.

One of them is shared this way:
[Kyocera]
        comment = Kyocera Mita FS-C8008N
        path = /var/spool/samba
        valid users = foo, bar
        printable = Yes
        use client driver = Yes

On a windows client, the printer switches itself to "Use printer offline"
with no user action. It seems to happen randomly (I've not been able to
locate a pattern). When trying to disable that option (eg re-enable sending
jobs to the printer), a message 'Error while trying to execute this
command"  appears in the lower right corner of the job list window (error
message freely translated by myself as the workstation is using a french
version of windows).

Each time one tries to disable this "Use printer offline" option by clicking
it in the file menu, the following message appears in samba's logs:

[2010/01/22 11:21:42,  0]
rpc_parse/parse_spoolss.c:spoolss_io_q_setprinter(3938)
  spoolss_io_q_setprinter: unsupported printer info level [5]

I have found no way to re-enable the printer when it happens. Only solution
is to delete it, and then to reinstall it. Each time.

So far this problem occurs only on 1 of the 5 Windows XP PC's connected to
this PDC. 

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser         3.110                    add and remove users and groups
ii  debconf [debcon 1.5.24                   Debian configuration management sy
ii  libacl1         2.2.47-2                 Access control list shared library
ii  libattr1        1:2.4.43-2               Extended attribute shared library
ii  libc6           2.7-18lenny2             GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libcups2        1.3.8-1+lenny7           Common UNIX Printing System(tm) - 
ii  libgnutls26     2.4.2-6+lenny2           the GNU TLS library - runtime libr
ii  libkrb53        1.6.dfsg.4~beta1-5lenny2 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1+lenny1          OpenLDAP libraries
ii  libpam-modules  1.0.1-5+lenny1           Pluggable Authentication Modules f
ii  libpam-runtime  1.0.1-5+lenny1           Runtime support for the PAM librar
ii  libpam0g        1.0.1-5+lenny1           Pluggable Authentication Modules l
ii  libpopt0        1.14-4                   lib for parsing cmdline parameters
ii  libtalloc1      1.2.0~git20080616-1      hierarchical pool based memory all
ii  libwbclient0    2:3.2.5-4lenny7          client library for interfacing wit
ii  logrotate       3.7.1-5                  Log rotation utility
ii  lsb-base        3.2-20                   Linux Standard Base 3.2 init scrip
ii  procps          1:3.2.7-11               /proc file system utilities
ii  samba-common    2:3.2.5-4lenny7          Samba common files used by both th
ii  update-inetd    4.31                     inetd configuration file updater
ii  zlib1g          1:1.2.3.3.dfsg-12        compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
pn  smbldap-tools               <none>       (no description available)

-- debconf information excluded





More information about the Pkg-samba-maint mailing list