On a fresh Fedora 39 server installed, I have install samba + 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] (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 connenct to it,
What's is wrong on my configurations?
Many thanks
[1] ####################################
root@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@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@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@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