[Samba] Samba4 - Printer Drivers install fails
Julien TEHERY
julien.tehery at openevents.fr
Thu Nov 21 11:03:03 UTC 2019
Hi,
I have a question about printer drivers management in Samba4 (Samba
version 4.7.6, Ubuntu 18)
I use MMC to add new drivers to an existing cups printers, and some of
them are simply refused.
I know the samba4/cups server is operationnal as i'm able to add new
printers or drivers to it through MMC.
I guess it's not a permission problem on the server as i perform the
operation as domain administrator and i'm able tu upload some drivers.
The setup only fails for specific drivers (x64, type3 - user mode) but
i d'on't know why.
I precise i upload those drivers from a 64 bits windows. I even tried
this parameter on cups's smb.conf :
spoolss: architecture = Windows x64
I also read the whole page from
https://wiki.samba.org/index.php/Setting_up_Automatic_Printer_Driver_Downloads_for_Windows_Clients#32-bit_and_64-bit_Drivers
in MMC, Error are:
- first popup with "Access denied" => weird answer as i'm able to upload
other drivers
- second popup ends with error 0x00000578
in Samba4/cups server logs, we have:
mo[2019/11/21 11:57:41.151380, 0]
../source3/printing/nt_printing.c:1145(move_driver_file_to_download_area)
move_driver_file_to_download_area: Unable to rename
[x64/{B0E1DB56-0727-46FB-AD9C-4CD07F0DA5DD}/driverinstall_pre_vista_1]
to [x64/3/DriverInstall_Pre_Vista_1]: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2019/11/21 11:57:41.161179, 0]
../source3/rpc_server/spoolss/srv_spoolss_nt.c:8612(_spoolss_AddPrinterDriverEx)
_spoolss_AddPrinterDriverEx: move_driver_to_download_area failed -
WERR_ACCESS_DENIED
On the server, permissions are:
drwxrwxr-x+ 9 administrator domain admins 4096 nov. 20 14:33 printers/
ll /var/lib/samba/printers/
drwxrwxr-x+ 9 administrator domain admins 4096 nov. 20 14:33 ./
drwxr-xr-x 6 root root 4096 nov. 21 10:03 ../
drwxrwxr-x+ 2 administrator domain admins 4096 nov. 20 14:33 IA64/
drwxrwxr-x+ 2 administrator domain admins 4096 nov. 20 14:33 W32ALPHA/
drwxrwxr-x+ 2 administrator domain admins 4096 nov. 20 14:33 W32MIPS/
drwxrwxr-x+ 2 administrator domain admins 4096 nov. 20 14:33 W32PPC/
drwxrwxr-x+ 2 administrator domain admins 4096 nov. 20 14:33 W32X86/
drwxrwxr-x+ 2 administrator domain admins 4096 nov. 20 14:33 WIN40/
drwxrwxr-x+ 3 administrator domain admins 4096 nov. 21 11:57 x64/
ll /var/lib/samba/printers/x64/
drwxrwxr-x+ 3 administrator domain admins 4096 nov. 21 11:57 ./
drwxrwxr-x+ 9 administrator domain admins 4096 nov. 20 14:33 ../
drwxrwxr-x+ 2 administrator domain users 4096 nov. 21 10:04 3/
Any idea of what the problem is?
The printer drivers are:
- impxeroxc405 imprimante Xerox Versalink c405
- impxeroxc8030 imprimante Xerox Altalink c8030
- lexxc4140 imprimante Lexmark XC 4140
--
Regards,
Julien
<https://visitor.weyou-group.com/heavent-paris/2019/inscription>
More information about the samba
mailing list