[Samba] Samba 4.19.4 as printer server: printer are not show in browser
Dario Lesca
d.lesca at solinos.it
Sun Feb 25 01:35:27 UTC 2024
Il giorno ven, 23/02/2024 alle 10.35 +0000, Rowland Penny via samba ha
scritto:
>
> So why isn't Samba showing your cups printers ?
> One reason could be that cups is starting after Samba and hence there
> are no cups configurations for Samba to create printers from.
This in some cases is possible but not always true.
In my case I start CUPS at boot, and smb and nmb manually after connect
to it via ssh
Furthermore if I stop samba, then restart CUPS and start samba, the
printers are not listed until I print a job on a fake printer ...
... or, as Andreas shows here :
https://bugzilla.redhat.com/show_bug.cgi?id=2263500#c9
I run this command:
# rpcclient ncacn_np:localhost -c enumprinters -Usomesmbuser
In your comment he suggests also the following hypothesis:
> It looks like listing shares with smbclient doesn't trigger an rpc
> call. I guess it only looks into the printer_list.tdb.
Dario
More information about the samba
mailing list