Hello,
thank you for testing. I assume that you can print normally then from a
Windows client?
If yes I need check what is different in our setup. What still is
strange that printing works on 4.15.
Regards
Christian
Am 09.08.22 um 11:02 schrieb Peter Varkoly via samba:>
> Now I've tested it on 4.16.4 and it works but only as user
Administrator
> and 'min uid = 0'.
> Using other user with the needed privileges and rights gets
> WERR_ACCESS_DENIED by setting the drivers:
>
> ............
> Running command: smbclient //printserver/print$ -N -A /tmp/01b6562fce607
> -c 'mkdir W32X86;put /tmp/01b6562fe9839 W32X86/prnt1.ppd;put
> /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put
> /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put
> /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put
> /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
> NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
> putting file /tmp/01b6562fe9839 as \W32X86\prnt1.ppd (4075.7 kb/s)
> (average 4075.8 kb/s)
> putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86\ps5ui.dll
> (112373.6 kb/s) (average 52208.8 kb/s)
> putting file /usr/share/cups/drivers/pscript.hlp as \W32X86\pscript.hlp
> (12713.2 kb/s) (average 48259.3 kb/s)
> putting file /usr/share/cups/drivers/pscript.ntf as \W32X86\pscript.ntf
> (147953.9 kb/s) (average 74106.6 kb/s)
> putting file /usr/share/cups/drivers/pscript5.dll as
> \W32X86\pscript5.dll (11395.8 kb/s) (average 33971.7 kb/s)
>
> Running command: rpcclient printserver -N -A /tmp/01b6562fce607 -c
> 'adddriver "Windows NT x86"
>
"prnt1:pscript5.dll:prnt1.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,prnt1.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"'
> Printer Driver prnt1 successfully installed.
>
> Running command: smbclient //printserver/print$ -N -A /tmp/01b6562fce607
> -c 'mkdir x64;put /tmp/01b6562fe9839 x64/prnt1.ppd;put
> /usr/share/cups/drivers/x64/ps5ui.dll x64/ps5ui.dll;put
> /usr/share/cups/drivers/x64/pscript.hlp x64/pscript.hlp;put
> /usr/share/cups/drivers/x64/pscript.ntf x64/pscript.ntf;put
> /usr/share/cups/drivers/x64/pscript5.dll x64/pscript5.dll'
> NT_STATUS_OBJECT_NAME_COLLISION making remote directory \x64
> putting file /tmp/01b6562fe9839 as \x64\prnt1.ppd (10189.2 kb/s)
> (average 10189.5 kb/s)
> putting file /usr/share/cups/drivers/x64/ps5ui.dll as \x64\ps5ui.dll
> (360654.9 kb/s) (average 160394.0 kb/s)
> putting file /usr/share/cups/drivers/x64/pscript.hlp as \x64\pscript.hlp
> (6356.8 kb/s) (average 104380.5 kb/s)
> putting file /usr/share/cups/drivers/x64/pscript.ntf as \x64\pscript.ntf
> (207560.8 kb/s) (average 136625.6 kb/s)
> putting file /usr/share/cups/drivers/x64/pscript5.dll as
> \x64\pscript5.dll (155746.2 kb/s) (average 140450.5 kb/s)
>
> Running command: rpcclient printserver -N -A /tmp/01b6562fce607 -c
> 'adddriver "Windows x64"
>
"prnt1:pscript5.dll:prnt1.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,prnt1.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"'
> Printer Driver prnt1 successfully installed.
>
> Running command: rpcclient printserver -N -A /tmp/01b6562fce607 -c
> 'setdriver prnt1 prnt1'
> result was WERR_ACCESS_DENIED
>
> Unable to set Windows printer driver (1).
> ..................
>
> Am 2022-08-08 15:43, schrieb Christian Naumer via samba:
>> Am 08.08.22 um 15:06 schrieb Rowland Penny via samba:
>>> On Mon, 2022-08-08 at 14:54 +0200, Christian Naumer via samba
wrote:
>>>> Maybe this is related to this:
>>>>
>>>> https://bugzilla.samba.org/show_bug.cgi?id=15121
>>>>
>>>> Also in 4.16.3 printing does not work at all for us. 4.16.2 did
work
>>>> but
>>>> we where unable to set a new driver. As described in the bug
report.
>>>>
>>>> Regards
>>>>
>>>> Christian
>>>
>>> Try changing 'min uid = 500' to 'min uid = 0' and
see if that helps.
>>
>> Tried that already. It did not change anything for us.
>>
>> 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
>
--
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