[Samba] Print Server - Unable to upload printer driver
Alfonso Conner
c1581634 at gmail.com
Fri Jun 3 02:44:09 UTC 2022
Hi Samba Team,
I try to setup a Samba Print Server and encountered the following error
while
trying to upload printer driver.
Reference setup guide:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server
https://wiki.samba.org/index.php/Setting_up_Automatic_Printer_Driver_Downloads_for_Windows_Clients
- Stuck at uploading driver
Error message:
Add Printer Driver Wizard
Unable to install HP LaserJet
E60155-E60165-E60175 PCL 6 (V3), Type
3 - User Mode, x64 driver
{Application Error} The application was
unable to start correctly (0x%lx). Click OK
to close the application.
PrintServer details - Domain Member
OS - CentOS Stream release 8
Linux 4.18.0-383.el8.x86_64 - rpm installation.
Samba version - 4.15.5-8.el8
DNS and reverse DNS - Ok
Windows Client to access Print Management
Windows Server 2012 R2 Standard
smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SANDOM
security = ADS
realm = SANDOM.EXAMPLE.COM
log file = /var/log/samba/%m.log
log level = 1
winbind nss info = rfc2307
# Default ID mapping configuration for local BUILTIN accounts
# and groups on a domain member. The default (*) domain:
# - must not overlap with any domain ID mapping configuration!
# - must use a read-write-enabled back end, such as tdb.
idmap config * : backend = tdb
idmap config * : range = 3000-7999
# - You must set a DOMAIN backend configuration
# idmap config for the SANDOM domain
idmap config SANDOM:backend = rid
idmap config SANDOM:schema_mode = rfc2307
idmap config SANDOM:range = 10000-999999
idmap config SANDOM:unix_nss_info = yes
template homedir = /home/%U
template shell = /bin/bash
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
min domain uid = 0
printing = cups
printcap name = cups
load printers = no
cups options = raw
rpc_server:spoolss = external
rpc_daemon:spoolssd = fork
username map = /etc/samba/user.map
[print$]
comment = Printer Drivers
path = /srv/samba/printer_drivers/
read only = no
[HPPrinter]
path = /var/tmp/
printable = yes
printer name = HPPrinter
Appreciate for the advice.
Thank You!
More information about the samba
mailing list