View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005743 | Rocky-Linux-9 | samba | public | 2024-02-09 17:44 | 2024-02-10 09:04 |
Reporter | Dario Lesca | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | amd64 | OS | rocky linux | OS Version | 9.3 |
Summary | 0005743: samba not show CUPS printer in shares list | ||||
Description | I have configure samba as printers share server with printers configured to CUPS After the setup, CUPS list all printers added, but samba show only the folders share, all CUPS printers are missing in browser list. to ensure that the printers are displayed I need to add manually a fake printer to smb.conf and print on it. This operation must be repeated every time I add a new printer in CUPS | ||||
Steps To Reproduce | On a fresh minimal Rocy Linux 9.3 installation I have do this steps # install cups dnf install cups -y # start cups systemctl restart cups # add printer lpadmin -p laser1 -oraw -v socket://laser1:9100/ -E # add cups-pdf printer dnf install cups-pdf -y # Check cups printers lpstat -t # Install and start samba echo 192.168.122.157 rocky9 >> /etc/hosts dnf install samba samba-client -y systemctl restart smb nmb # list samba share: printer are not listed smbclient -N -L rocky9 # add a dumb printer cat << EOF >> /etc/samba/smb.conf [lp1] comment = LP1 Printer path = /var/tmp printable = Yes browseable = Yes printer name = Cups-PDF public = yes EOF # restart samba systemctl restart smb nmb # list shared resource: only fake printer are listed, CUPS printer are missing smbclient -N -L rocky9 # Print a jobs to fake printer smbclient -N //rocky9/lp1 -c 'print /etc/issue' # list shared resource: Now CUPS printer are listed smbclient -N -L rocky9 This steps running on Oracle Linux 8.x and Fedora 39 produce the same result: CUPS printers are only listed if you print at least once to a manually added printer On Debian 11 however it is not necessary to add and print on a printer, as soon as the printer is added in CUPS it is sufficient to wait or restart samba and it appears in the list of printers | ||||
Tags | cups, printers, samba | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-09 17:44 | Dario Lesca | New Issue | |
2024-02-09 17:44 | Dario Lesca | Tag Attached: cups | |
2024-02-09 17:44 | Dario Lesca | Tag Attached: printers | |
2024-02-09 17:44 | Dario Lesca | Tag Attached: samba | |
2024-02-10 09:04 | Dario Lesca | Note Added: 0005974 |