Created attachment 14160 [details] patch to fix the error code Some print drivers inf files are broken and cause driver installation to fail on Samba servers. Windows returns WERR_APP_INIT_FAILURE in that case, we should do the same. Windows machines are less unlucky with that. typical patterns in the log files then: ../source3/printing/nt_printing.c:949(move_driver_file_to_download_area) move_driver_file_to_download_area: Unable to rename [x64/universalxp] to [x64/3/UNIVERSALXP]: NT_STATUS_OBJECT_NAME_NOT_FOUND ../librpc/ndr/ndr.c:282(ndr_print_function_debug) spoolss_AddPrinterDriverEx: struct spoolss_AddPrinterDriverEx out: struct spoolss_AddPrinterDriverEx result : WERR_ACCESS_DENIED Attached patch makes us return the same error as Windows does.
in master with 35f2afe411a3b22fb1befadb3bee8da1bc14753c Karo: can you cherry-pick this also to the supported release branches, please?
(In reply to Björn Jacke from comment #1) Pushed to autobuild-v4-[8,7]-test.
(In reply to Karolin Seeger from comment #2) Pushed to both branches. Closing out bug report. Thanks!