[Samba] Print Server - Cannot add some drivers

Luke Barone lukebarone at gmail.com
Wed Jul 21 17:24:43 UTC 2021


Hi List,

I am trying to add Konica Minolta signed x64 drivers to a new print server
running Samba 4.13.5 on Debian. I can add Lexmark drivers without a problem.

I get to the file-copy portion of adding drivers to the server, and the
files copy fine. Then I get an error message in Windows that reads:

Unable to install KONICA MINOLTA C658SeriesPS, Type 3 - User Mode, x64
driver.
{Application Error} The application was unable to start correctly (0x%lx).
Click OK to close the application.

On the server, checking the log, I see the following entry:

[2021/07/21 10:16:57.203752,  0]
../../source3/printing/nt_printing.c:1464(move_driver_file_to_download_area)
  move_driver_file_to_download_area: Unable to rename
[x64/{B577A6FA-F268-4075-AA0F-08D4E5BA8B20}/KOAXPA_A.PPD.NTamd64] to
[x64/3/KOAXPA_A.PPD.NTamd64]: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2021/07/21 10:16:57.203828,  0]
../../source3/rpc_server/spoolss/srv_spoolss_nt.c:8669(_spoolss_AddPrinterDriverEx)
  _spoolss_AddPrinterDriverEx: move_driver_to_download_area failed -
WERR_APP_INIT_FAILURE

The 3 folder exists already in x64/, and has files for the Lexmark
printers. I am logged in as a member of the Domain Admins group, and have
verified the group has both the Print Operator and Disk Operator privileges
on the print server.

Below is my smb.conf file:

[global]
bind interfaces only = Yes
client signing = required
disable netbios = Yes
interfaces = lo enp1s0
log file = /var/log/samba/%m.log
realm = DOMAIN.AD.EXAMPLE.COM
security = ADS
server role = member server
server signing = required
template homedir = /home/harw/%U
winbind separator = /
workgroup = DOMAIN
spoolss: architecture = Windows x64
rpc_daemon:spoolssd = fork
rpc_server:spoolss = external
idmap config harw : range = 100000-199999
idmap config harw : backend = rid
idmap config * : range = 70000-99999
idmap config * : backend = tdb
map acl inherit = Yes
vfs objects = acl_xattr


[printers]
browseable = No
path = /var/spool/samba/
printable = Yes


[print$]
path = /usr/local/share/printer_drivers/
read only = No


More information about the samba mailing list