[Pkg-samba-maint] Bug#819302: samba: Some printers no longer work after upgrade from Wheezy - GUID issues

Rik Theys Rik.Theys at esat.kuleuven.be
Sat Mar 26 11:04:57 UTC 2016

Package: samba
Version: 2:4.1.17+dfsg-2+deb8u2
Severity: important
Tags: patch


After upgrading our print server from Wheezy to Jessie, windows clients
can no longer connect to some of our printers. These printers have
drivers available on the print server.

The following error is logged for each printer that has this issue.

[2016/03/26 10:06:23.845600,  0] ../source3/printing/nt_printing_ads.c:116(nt_printer_guid_get)
  Failed to get GUID for printer ev-ricoh-c2003
[2016/03/26 10:06:23.846099,  0] ../source3/rpc_server/spoolss/srv_spoolss_nt.c:4858(_spoolss_GetPrinter)
  _spoolss_GetPrinter: failed to construct printer info level 7 - WERR_BADFILE

This issue is described in the following samba bug report and this bug
report has a patch attached that should fix this bug.


The bug report also contains a workaround to fix this manually.

Please consider applying the upstream patch to the debian package.



-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages samba depends on:
ii  adduser                              3.113+nmu3
ii  dpkg                                 1.17.26
ii  libasn1-8-heimdal                    1.6~rc2+dfsg-9
ii  libbsd0                              0.7.0-2
ii  libc6                                2.19-18+deb8u3
ii  libcomerr2                           1.42.12-1.1
ii  libhdb9-heimdal [heimdal-hdb-api-8]  1.6~rc2+dfsg-9
ii  libkdc2-heimdal                      1.6~rc2+dfsg-9
ii  libkrb5-26-heimdal                   1.6~rc2+dfsg-9
ii  libldb1                              2:1.1.17-2+deb8u1
ii  libpam-modules                       1.1.8-3.1+deb8u1
ii  libpam-runtime                       1.1.8-3.1+deb8u1
ii  libpopt0                             1.16-10
ii  libpython2.7                         2.7.9-2
ii  libroken18-heimdal                   1.6~rc2+dfsg-9
ii  libtalloc2                           2.1.1-2
ii  libtdb1                              1.3.1-1
ii  libtevent0                           0.9.21-1
ii  lsb-base                             4.1+Debian13+nmu1
ii  multiarch-support                    2.19-18+deb8u3
ii  procps                               2:3.3.9-9
ii  python                               2.7.9-1
ii  python-dnspython                     1.12.0-1
ii  python-ntdb                          1.0-5
ii  python-samba                         2:4.1.17+dfsg-2+deb8u2
pn  python2.7:any                        <none>
ii  samba-common                         2:4.1.17+dfsg-2+deb8u2
ii  samba-common-bin                     2:4.1.17+dfsg-2+deb8u2
ii  samba-dsdb-modules                   2:4.1.17+dfsg-2+deb8u2
ii  samba-libs                           2:4.1.17+dfsg-2+deb8u2
ii  tdb-tools                            1.3.1-1
ii  update-inetd                         4.43

Versions of packages samba recommends:
pn  attr               <none>
ii  logrotate          3.8.7-1+b1
pn  samba-vfs-modules  <none>

Versions of packages samba suggests:
ii  bind9          1:9.9.5.dfsg-9+deb8u6
ii  bind9utils     1:9.9.5.dfsg-9+deb8u6
pn  ctdb           <none>
pn  ldb-tools      <none>
ii  ntp            1:4.2.6.p5+dfsg-7+deb8u1
pn  smbldap-tools  <none>
ii  winbind        2:4.1.17+dfsg-2+deb8u2

-- debconf information:
* samba/generate_smbpasswd: false
* samba/run_mode: daemons

More information about the Pkg-samba-maint mailing list