[Pkg-samba-maint] Bug#726726: samba: Unable to share printer using cups
Rene Hogendoorn
rene.hogendoorn at ziggo.nl
Fri Oct 18 12:49:29 UTC 2013
Package: samba
Version: 2:4.0.10+dfsg-2
Severity: normal
With samba3, my printer was shared using "printing = cups".
After upgrading to samba 4.0.10, this does not work anymore.
Apparently, the daemon was compiled without cups support (see output of
testparm and smbd -b below).
smbd -b should output:
# smbd -b | grep CUPS
HAVE_CUPS_CUPS_H
HAVE_CUPS_LANGUAGE_H
HAVE_CUPS
HAVE_LIBCUPS
(according to
https://wiki.samba.org/index.php/Samba_as_a_print_server#Print_server_backend)
-----------------------------------
hogend at kelewan:/media/raid/hogend/$ testparm -v |grep prin
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: Ignoring invalid value 'cups' for parameter 'printing'
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[public]"
Processing section "[Music]"
Processing section "[Video]"
Processing section "[Books]"
Processing section "[Software]"
Processing section "[newtorrents]"
Processing section "[torrents]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
client use spnego principal = No
load printers = Yes
printcap cache time = 750
printcap name = cups
iprint server =
addprinter command =
deleteprinter command =
show add printer wizard = Yes
min print space = 0
max reported print jobs = 0
max print jobs = 1000
printable = No
print notify backchannel = Yes
print ok = No
printing = bsd
print command = lpr -r -P'%p' %s
printer name =
force printername = No
printjob username = %U
[printers]
printable = Yes
print ok = Yes
[print$]
path = /media/raid/samba/printerdrivers
-----------------------------------
root at kelewan:~# smbd -b | grep CUPS
root at kelewan:~#
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba depends on:
ii adduser 3.113+nmu3
ii dpkg 1.17.1
ii libbsd0 0.6.0-1
ii libc6 2.17-93
ii libldb1 1:1.1.16-1
ii libpam-modules 1.1.3-9
ii libpam-runtime 1.1.3-9
ii libpopt0 1.16-7
ii libroken18-heimdal 1.6~git20120403+dfsg1-4
ii libtalloc2 2.1.0-1
ii libtdb1 1.2.12-1
ii libtevent0 0.9.19-1
ii lsb-base 4.1+Debian12
ii procps 1:3.3.8-2
ii python 2.7.5-5
ii python-dnspython 1.11.0-1
ii python-samba 2:4.0.10+dfsg-2
pn python2.7:any <none>
ii samba-common 2:4.0.10+dfsg-2
ii samba-common-bin 2:4.0.10+dfsg-2
ii samba-dsdb-modules 2:4.0.10+dfsg-2
ii samba-libs 2:4.0.10+dfsg-2
ii sysv-rc 2.88dsf-43
ii tdb-tools 1.2.12-1
ii update-inetd 4.43
Versions of packages samba recommends:
ii attr 1:2.4.47-1
ii logrotate 3.8.6-1
Versions of packages samba suggests:
ii bind9 1:9.9.3.dfsg.P2-4
ii bind9utils 1:9.9.3.dfsg.P2-4
pn ctdb <none>
pn ldb-tools <none>
ii ntp 1:4.2.6.p5+dfsg-3
ii smbldap-tools 0.9.9-1
pn winbind <none>
-- debconf information:
samba/run_mode: daemons
samba-common/title:
More information about the Pkg-samba-maint
mailing list