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
Am 03.08.22 um 11:54 schrieb Peter Varkoly via samba:> Hi,
>
> I have problem to set the printer driver with rpc (resp? cupsaddsmb)
> with 4.16.2. The same way has worked on 4.15.5:
> I've tried it as Administrator and as user with
SePrintOperatorPrivilege
> privilegs as member of the group "Print Operators".
>
> ===> rpcclient printserver -N -A /tmp/01c1c62ebd2ec -c 'adddriver
"Windows NT
> x86"
>
"pr1:pscript5.dll:pr1.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,pr1.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"'
> result was WERR_NETNAME_DELETED
> ====>
> The ad Server is a samba-4.16.2 too.
> The printserver confiugration is:
> ================================================> [global]
> workgroup = PRICSKE
> realm = PRICSKE.ISKOLA
> netbios name = printserver
> printing = CUPS
> security = ADS
> bind interfaces only = yes
> interfaces = 172.17.0.4
> load printers = no
> min domain uid = 0
> pid?? directory = /run/sambaprintserver
> cache directory = /var/lib/printserver
> lock? directory = /var/lib/printserver/lock
> state directory = /var/lib/printserver
> private directory = /var/lib/printserver/private
> rpc_server:spoolss = external
> rpc_daemon:spoolssd = fork
>
> [print$]
> comment = Printer Drivers
> path = /var/lib/printserver/drivers
> read only = No
>
> [pr1]
> path = /var/tmp/
> printable = yes
> printer name = pr1
> hosts allow = 172.17.0.0/24
> ================================================>
> The ad-server configuration is:
> ================================================> [global]
> netbios name = admin
> realm = PRICSKE.ISKOLA
> workgroup = PRICSKE
> dns forwarder = 172.17.0.6
> server role = active directory domain controller
> idmap_ldb:use rfc2307 = Yes
> check password script =
> /usr/share/cranix/tools/check_password_complexity.sh
> bind interfaces only = yes
> interfaces = 127.0.0.1, 172.17.0.2
> ntlm auth = yes
> template shell = /bin/bash
> ldap server require strong auth = no
> load printers = no
> printcap name = /dev/null
> disable spoolss = yes
> hosts deny = 172.17.1.0/24
>
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = No
>
> [netlogon]
> comment = Network logon
> path = /var/lib/samba/sysvol/pricske.iskola/scripts
> root preexec = /usr/share/cranix/plugins/share_plugin_handler.sh
> netlogon open %U %I %a %m pricske.iskola
> read only = No
> ===============================================>
>
> Do you have any hints for me?
>
> Thanks
>
--
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