[Samba] Samba 4.19.4 as printer server: printer are not show in browser
Dario Lesca
d.lesca at solinos.it
Tue Feb 6 16:29:37 UTC 2024
I have install from RPM on a Fedora server samba 4.19.4 + cups + cups-
pdf to allow some client windows to print and generate PDF on server in
order to analyse and convert these files into another format.
I have configure smb.conf in this way[1] (on standard file I have only
add "[global]/map to guest = bad user" and "[printers]/browseable =
Yes"), but when I try to browse the server, printer cups-pdf are not
show into list of printer browsable[2] an I cannot connect to it.
What's is wrong on my configurations?
Many thanks
Dario
[1] ####################################
root at fedora:~# cat /etc/samba/smb.conf
[global]
workgroup = SAMBA
security = user
map to guest = bad user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
# Install samba-usershares package for support
# include = /etc/samba/usershares.conf
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
;browseable = No
browseable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
[2] ####################################
root at fedora:~# lpstat -t
scheduler is running
no system default destination
device for Cups-PDF: cups-pdf:/
Cups-PDF accepting requests since Tue Feb 6 11:33:15 2024
printer Cups-PDF is idle. enabled since Tue Feb 6 11:33:15 2024
root at fedora:~# cat /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
Cups-PDF|Cups-PDF:rm=fedora:rp=Cups-PDF:
root at fedora:~# smbclient -N -L localhost
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.19.4)
SMB1 disabled -- no workgroup available
--
Dario Lesca
(Inviato dal mio Linux Fedora 39 Workstation)
More information about the samba
mailing list