[Samba] Print Server - Cannot add some drivers

Luke Barone lukebarone at gmail.com
Wed Jul 21 18:25:23 UTC 2021


Unsure why, but PCL drivers appear to work, while the PS drivers provided
by the manufacturer are not.

On Wed, Jul 21, 2021 at 10:40 AM Luke Barone <lukebarone at gmail.com> wrote:

> The files are there during the copy process, but cannot get moved:
>
> root at ps1:/usr/local/share/printer_drivers/x64/{A4357CB6-ED36-4C0D-9805-F0E2C9ABC3F0}#
> ls
> KOBK1A_A.kmp  KOBK1A_C.KPD  KOBK1A_D.KPD  KOBK1A__.INI KOBK1A_M.KPD
>  KOBK1A__.PPD  KOBK1A_U.DLL
> KOBK1A_C.DLL  KOBK1A__.CNT  KOBK1A_G.DLL  KOBK1A__.KPD KOBK1A_N.DLL
>  KOBK1A_R.DLL  KOBK1A__.unf
> KOBK1A__.chm  KOBK1A_D.DLL  KOBK1A__.HLP  KOBK1A_M.DLL KOBK1A_O.DLL
>  KOBK1A_S.DLL  KOBK1A_W.DLL
>
> On Wed, Jul 21, 2021 at 10:24 AM Luke Barone <lukebarone at gmail.com> wrote:
>
>> 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