[Samba] Printing with Samba 4.16

Christian Naumer cn at brain-biotech.de
Wed Aug 17 12:06:19 UTC 2022


Sorry we are on Rocky Linux so puring and using your repo will be a bit 
difficult :-) Bu ti seem to remember that my colleague tried 4.16.2 and 
printing did work there but the Printer Driver upload did not that was 
why he reverted back to 4.15. The next time he upgraded to the then 
current 4.16.3 and nothing worked anymore.

Maybe you are brave and can try 4.16.4 :-)

Regards

Christian

Am 17.08.22 um 13:40 schrieb L. van Belle via samba:
> I just run a test on my 4.16.2 ..
> 
> smbclient -L $(hostname -s) -Uadministrator   or with -Usomeusername   *(
> and typing my password)
> and that shows all my printers.
> 
> ....
> SMB1 disabled -- no workgroup available
> root at rtd-print1:~# smbd -V
> Version 4.16.2-Debian
> 
> a test with ..
> kinit Administrator
> smbclient -L $(hostname -s) -k
> 
> 
> what you can try is, remove samba. Don't purge it.
> add my repo and install 4.16.2 and test again.
> 
> Ps..
> 4.16.4 is building currently for Ubuntu Jammy, next is Debian.
> 4.15.9 is building for Debian, Ubuntu is done already.
> 4.14.14 is uploaded..
> 
> 
>> -----Oorspronkelijk bericht-----
>> Van: samba <samba-bounces at lists.samba.org> Namens Christian Naumer
>> via samba
>> Verzonden: woensdag 17 augustus 2022 12:58
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] Printing with Samba 4.16
>>
>> Am 01.08.22 um 09:39 schrieb Christian Naumer via samba:
>>> Am 01.08.22 um 09:37 schrieb Stefan Kania via samba:
>>>> Do you see the printers with "smbclient -L hostname"
>>>
>>> Haven't tried it from Linux. The Windows clients do not see any
>>> printers anymore. So we reverted back to 4.15 which works. Would have
>>> to try this during our next "upgrade trial" :-)
>>
>> So we have setup a test machine (a clone of the original machine) and
>> upgraded to 4.16.4.
>>
>> Here 4.16:
>>
>> cn at printsrv-test ~]$ rpcclient printsrv-test -U cn -c "enumprinters"
>> Password for [DOM-02\cn]:
>> No printers returned.
>>
>> [cn at printsrv-test ~]$ smbclient -L printsrv-test Password for [DOM-02\cn]:
>>
>> 	Sharename       Type      Comment
>> 	---------       ----      -------
>> 	print$          Disk
>> 	IPC$            IPC       IPC Service (Printsrv-Test)
>> SMB1 disabled -- no workgroup available
>>
>>
>> Here 4.15:
>> [cn at printsrv-test ~]$ rpcclient printserver -U "cn" -c "enumprinters"
>> Password for [DOM-02\cn]:
>> 	flags:[0x800000]
>> 	name:[\\PRINTSERVER\XXX-MFP]
>> 	description:[\\PRINTSERVER\XXX-MFP,XXXX PCL6 UniversalDriver
>> VX.XX,XXXX XXXX XXX XXXX PCL X]
>> 	comment:[XXXX XXX XX XXX PCL X]
>>
>> [cn at printsrv-test ~]$ smbclient -L printserver Password for [DOM-02\cn]:
>>
>> 	Sharename       Type      Comment
>> 	---------       ----      -------
>> 	print$          Disk
>> 	IPC$            IPC       IPC Service (Printserver)
>> 	XXX-MFP    	Printer   XXXX XXX XX XXX PCL X
>>
>> SMB1 disabled -- no workgroup available
>>
>>
>> According to the Wiki some things change for 4.16
>> (https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server)
>>
>> And we have set this with regards to spoolss:
>> 	# for 4.15 only these
>>           rpc_server:spoolss = external
>>           rpc_daemon:spoolssd = fork
>> 	spoolss: architecture = Windows x64
>>           # additionally for Samba 4.16
>>           rpcd_spoolss:idle_seconds=300
>>           rpcd_spoolss:num_workers = 10
>>
>> But still no joy. No printing from Windows and no printers listed with RPC
>> client or smbclient. The commands above were run as normal user.
>> Running them as Administrator does also not work (min domain uid = 0 is
>> set).
>>
>> Anyone know where to search?
>>
>> Regards
>>
>> --
>> Dr. Christian Naumer
>> Vice President
>> Unit Head Bioprocess Development
>>
>> BRAIN Biotech AG
>> Darmstaedter Str. 34-36
>> 64673 Zwingenberg, Germany
>>
>> T: +49 6251 9331-30
>> F: +49 6251 9331-11
>>
>> cn at brain-biotech.com
>> www.brain-biotech.com
>>
>> Follow @BRAINbiotech on Twitter: https://twitter.com/BRAINbiotech Follow
>> @BRAIN Biotech AG on LinkedIn:
>> https://www.linkedin.com/company/brainbiotech
>>
>> Sitz der Gesellschaft: Zwingenberg | Bergstrasse Registergericht AG
>> Darmstadt | HRB 24758
>> Vorstand: Adriaan Moelker (Vorstandsvorsitzender) | Lukas Linnig
>> Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 

-- 
Dr. Christian Naumer
Vice President
Unit Head Bioprocess Development

BRAIN Biotech AG
Darmstaedter Str. 34-36
64673 Zwingenberg, Germany

T: +49 6251 9331-30
F: +49 6251 9331-11

cn at brain-biotech.com
www.brain-biotech.com

Follow @BRAINbiotech on Twitter: https://twitter.com/BRAINbiotech
Follow @BRAIN Biotech AG on LinkedIn: https://www.linkedin.com/company/brainbiotech

Sitz der Gesellschaft: Zwingenberg | Bergstrasse
Registergericht AG Darmstadt | HRB 24758
Vorstand: Adriaan Moelker (Vorstandsvorsitzender) | Lukas Linnig
Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen


More information about the samba mailing list