Package: samba Version: 2:4.1.17+dfsg-2 Severity: normal Dear Maintainer,
In a fresh Debian Jessie setup running with the KDE desktop. CUPS recognises and prints to remote printers attached to Windows 7 machines. CUPS recognises and prints to printer connected directly to the Jessie server SAMBA can share and read files from Windows 7 machines. The printer connected to Debian appears as shared in the CUPS web interface and Windows 7 clients can print directly to CUPS using IPP and the printer address: http://harpia:631/printers/Stylus-COLOR-777 But Samba doesn't show the printer connected to Debian Jessie as available. Using smbtree -U. doesn't show the printer in Debian as available and people coming with their laptops can't see the printer in Windows. It seems that Samba can't connect to CUPS to get the list of available printers in the Debian server. It can also be a problem in CUPS but since it can share the printer directly to Windows using IPP it seems to me that the problem is with samba. The setup and the same smb.conf worked perfectly in Debian Squeeze, the same problem happened in Wheezy and happens now in Jessie. Here is the smb.conf file testparm shows it as correct. ---------------------------------- [global] workgroup = KAMEHOUSE netbios name = HARPIA security = user map to guest = Bad User printcap name = cups disable spoolss = Yes show add printer wizard = No printing = cups name resolve order = bcast host wins lmhosts load printers = yes [data] comment = data1 path = /media/ntfs/share read only = Yes guest ok = Yes [media] path = /media/deposito/Media read only = Yes guest ok = Yes [printers] comment = Printer in Linux path = /var/spool/samba guest ok = Yes printable = Yes use client driver = Yes browseable = Yes -------------------------------------- Note: If I add this to smb.conf [Stylus-COLOR-777] comment=Local printer printer=Stylus-COLOR-777 path=/var/spool/samba/ printing=cups printcap name=cups printable=yes use client driver=yes guest ok=yes writable=no then the printer is shown as available to smbtree -U and Windows 7 clients but trying to add the printer shows Windows couldn't connect to the printer Error 0x0000002e in Windows It doesn't even let you choose the printer model or driver. So it seems that samba is showing the printer name but is not communicating with cups or getting the list of printers from CUPS. Thanks -- System Information: Debian Release: 8.0 Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 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.25 ii libasn1-8-heimdal 1.6~rc2+dfsg-9 ii libbsd0 0.7.0-2 ii libc6 2.19-18 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 ii libpam-modules 1.1.8-3.1 ii libpam-runtime 1.1.8-3.1 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 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 pn python2.7:any <none> ii samba-common 2:4.1.17+dfsg-2 ii samba-common-bin 2:4.1.17+dfsg-2 ii samba-dsdb-modules 2:4.1.17+dfsg-2 ii samba-libs 2:4.1.17+dfsg-2 ii tdb-tools 1.3.1-1 ii update-inetd 4.43 Versions of packages samba recommends: ii attr 1:2.4.47-2 ii logrotate 3.8.7-1+b1 ii samba-vfs-modules 2:4.1.17+dfsg-2 Versions of packages samba suggests: pn bind9 <none> pn bind9utils <none> pn ctdb <none> pn ldb-tools <none> pn ntp <none> pn smbldap-tools <none> ii winbind 2:4.1.17+dfsg-2 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org