Rowland Penny
2024-Feb-22 10:04 UTC
[Samba] Samba 4.19.4 as printer server: printer are not show in browser
On Thu, 22 Feb 2024 10:16:43 +0100 Dario Lesca via samba <samba at lists.samba.org> wrote:> Il giorno mer, 21/02/2024 alle 22.32 +0100, Roland via samba ha > scritto: > > Hello, > > > > same Problem here with arch linux and samba-4.19.5-1. > > As suggested from Roland here: > https://bugzilla.redhat.com/show_bug.cgi?id=2263500 > > I have try to set "browseable = Yes" parameter into [printers] session > and run "testparm -s", I get always "browseable = No" and the CUPS > printers are not listed > > Only after printing to a fake printer all CUPS printers will listing > > But "browseable" parameter continues to be shown set to No. > > Also on Debian the browseable parameter is always shown set to No, but > on debian the CUPS printers are always listed > > At this point, what is the meaning of the browseable parameter into > [printers] session ?I haven't got a printer, no real need for one, so for testing purposes I added these lines to the bottom of a smb.conf on a DC running 4.19.4 from Debian bookworm backports: [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no [lp1] comment = LP1 Printer path = /var/tmp printable = Yes browseable = Yes printer name = Cups-PDF public = yes When I ran 'samba-tool testparm', I got this back: [print$] comment = Printer Drivers path = /var/lib/samba/printers [lp1] comment = LP1 Printer guest ok = Yes path = /var/tmp printable = Yes printer name = Cups-PDF As expected, all the default lines had been removed. This is the output from smbclient: smbclient -NL localhost Anonymous login successful Sharename Type Comment --------- ---- ------- sysvol Disk netlogon Disk print$ Disk Printer Drivers lp1 Printer LP1 Printer IPC$ IPC IPC Service (Samba 4.19.4-Debian) SMB1 disabled -- no workgroup available Started W10 in a VM, opened explorer, no sign of the DC, back to the DC and installed wsdd, back to W10 and there was the DC in explorer and when I clicked on the DCs icon, it opened and there was lp1. Rowland
Dario Lesca
2024-Feb-22 11:27 UTC
[Samba] Samba 4.19.4 as printer server: printer are not show in browser
Il giorno gio, 22/02/2024 alle 10.04 +0000, Rowland Penny via samba ha scritto:> when I clicked on the DCs icon, it opened and there was lp1.Thank for your test, but ... The printers added manually into smb.conf are always show and work also in RH and Arch Linux when this problem under analysis and still unknown occurs. On these for now 2 systems only the CUPS shared printers, included via [printers] session, are not shown in some cases. Dario
Apparently Analagous Threads
- Samba 4.19.4 as printer server: printer are not show in browser
- Samba 4.19.4 as printer server: printer are not show in browser
- Samba 4.19.4 as printer server: printer are not show in browser
- Samba 4.19.4 as printer server: printer are not show in browser
- Samba 4.19.4 as printer server: printer are not show in browser