[Samba] Unable to upload printer drivers

Manu Baylac manu at ldd.fr
Wed Nov 1 18:57:54 UTC 2017


	Hi all,


i get struck with nearly the same problem as here :
https://lists.samba.org/archive/samba/2016-December/205088.html
excepted the NT_ error.

And the thread ends suddenly without solution. And i tested all that 
Louis and Rowland proposed.

Printer server as domain member but here with rid backend.
Debian stretch : samba 4.5.12 (debian package), also tested with 4.6.7 
and 4.6.8 (Louis package)
Windows 10 64 bits
Posix acl
SePrivileges ok.

And i also tested on my AD DC with Windows ACL, same error. But i want 
the print server on a domain member.

i followed all the wiki pages about setup a print server.

My printer is a Toshiba e-studio 4555CSE and i downloaded the driver 
from the official web site (type 3),and i tested with others printers 
randomly chosen on the net (epson, brother,...)

In printmanagement.msc i can add the server, and i can see the printer 
configured in cups.

On windows side, upload seems to go fine but 2 seconds after the end of 
the progress bar, I've got the message : "Impossible to install xxxx 
driver, access denied"

And on print server in syslog :

Nov  1 18:57:22 winix-test smbd[362]: [2017/11/01 18:57:22.357896,  0] 
../source3/rpc_server/spoolss/srv_spoolss_nt.c:8476(_spoolss_AddPrinterDriverEx)
Nov  1 18:57:22 winix-test smbd[362]:   _spoolss_AddPrinterDriverEx: 
level 8 not yet implemented
Nov  1 18:57:22 winix-test smbd[362]: [2017/11/01 18:57:22.458270,  0] 
../source3/printing/nt_printing.c:1097(move_driver_file_to_download_area)
Nov  1 18:57:22 winix-test smbd[362]: 
move_driver_file_to_download_area: Unable to rename 
[x64/eSf6psf_builtin.dll] to [x64/3/eSf6psf_builtin.dll]: 
NT_STATUS_SHARING_VIOLATION


My smb.conf :

[global]

security = ADS
        workgroup = TEST
        realm = TEST.EUS

        log file = /var/log/samba/%m.log
        log level = 10

        idmap config * : backend = tdb
        idmap config * : range = 3000-7999

        idmap config TEST : backend = rid
        idmap config TEST : range = 10000-999999

        username map = /var/lib/samba/etc/user.map

        rpc_server:spoolss = external
        rpc_daemon:spoolssd = fork

        spoolss: architecture = Windows x64

	printing = CUPS
	load printers = no

[printers]
        path = /var/spool/samba/
        printable = yes

[print$]
        path = /srv/samba/printers
        read only = no


What i missed or stupid thing did ?

Thanks !

Regards,

--
Manu











More information about the samba mailing list