Fedora 39: samba and printers shared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
Dario Lesca
(Inviato dal mio Linux Fedora 39 Workstation)








--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux