On 08/03/2023 20:24, Evaristo Batista via samba wrote:> SMB.Confin File I can see the printers added in the CUPs, I observed that
> the samba is not setting the Browseable = yes parameter. See the samba
> configuration file and the output of Testparm:
>
> [printers]
> comment = Compartilhamento de Impressoras
> path = /var/spool/samba
> printable = yes
> guest ok = no
> read only = yes
> create mask = 0700
> browseable = yes
>
> Saida do Testparm
>
> # testparm
> [printers]
> browseable = No
> comment = Compartilhamento de Impressoras
> create mask = 0700
> path = /var/spool/samba
> printable = Yes
>
I had to look twice before I realised what you were saying and after a
quick test, yes you seem to have found a bug, testparm does turn
'browseable = yes' in smb.conf into 'browseable = No'
Would you like to open a bug report ?
Rowland