Hi, I'm working on a minimal print server setup for Windows 10/11 x64 clients. No domain, no Kerberos, no LDAP, only a few local users on a standalone server with some shared CUPS printers. Printing works well. After setting 'spoolss: os_major = 6' and 'spoolss: os_minor = 1' The *Kyocera KX Universal Driver* has uploaded well. But, that's all. No success uploading other print drivers, like *HP Universal Printing PCL6* and *Canon Generic Plus PCL6 *All of them are failing with messages like: "Unable to install HP Universal Printing PCL 6, Type 3 - User Mode, x64 driver." This operation is not supported and "Unable to install Canon Generic Plus PCL6, Type 3 - User Mode, x64 driver." This operation is not supported The print$ share is writable, the files are copying to the temporary upload folder. And note that the Kyocera driver uploads well. It's 100% reproducible. Increased logging produces tons of logs, but no decodable error messages in them, at least for me. Server side: Debian 12 (bookworm) with stock 4.17.x and bookworm-backports (4.19.4), but tried with old SLES 12 server with 4.6.x Client side: Windows 10 22H2 x64 and Windows 11 23H2 x64, "Print Management" with app. See my smb.conf below. Do you have any ideas? Is print driver uploading known to be broken? Is these Canon and HP drivers are known to be broken? Do you have working print servers with print drivers uploaded? What drivers are you using? Thanks! [global] ?? ?netbios name = SANDBOX ?? ?workgroup = POLI ?? ?server role = standalone ?? ?server string = SANDBOX Samba ?? ?printing = cups ?? ?printcap name = cups ?? ?printcap cache time = 750 ?? ?cups options = raw ?? ?spoolss: architecture = Windows x64 ?? ?spoolss: os_major = 6 ?? ?spoolss: os_minor = 1 ?? ?rpcd_spoolss: num_workers = 10 ?? ?rpcd_spoolss: idle_seconds = 300 ?? ?log level = 2 auth:3 ?? ?username map = /etc/samba/smbusers [print$] ?? ?comment = Printer Driver Store ?? ?path = /var/lib/samba/drivers ?? ?read only = No [printers] ?? ?comment = All Printers ?? ?path = /var/lib/samba/printers ?? ?browsable = Yes ?? ?printable = Yes
Hi, I might have an idea: Can you have a look in the printer mangement of your print server from the Windows side? In the driver section there should be a column "package". I presume the Kyocera driver has there a "true" present and all other printer drivers a "false"? Then this should help you: https://community.spiceworks.com/t/do-you-trust-this-printer-print-driver-message/1011602 I have another link, too, but it is in German: https://www.windows-faq.de/2017/05/19/point-and-print-probleme-bei-installation-von-druckertreibern-unter-windows-10/ Regards Ingo https://github.com/WAdama Egerv?ry Gergely via samba schrieb am 04.03.2024 um 20:21:> Hi, > > I'm working on a minimal print server setup for Windows 10/11 x64 > clients. > No domain, no Kerberos, no LDAP, only a few local users on a > standalone server with some shared CUPS printers. > Printing works well. > > After setting 'spoolss: os_major = 6' and 'spoolss: os_minor = 1' The > *Kyocera KX Universal Driver* has uploaded well. But, that's all. > > No success uploading other print drivers, like *HP Universal Printing > PCL6* and *Canon Generic Plus PCL6 > *All of them are failing with messages like: > > ?? "Unable to install HP Universal Printing PCL 6, Type 3 - User Mode, > ?? x64 driver." > ?? This operation is not supported > > and > > ?? "Unable to install Canon Generic Plus PCL6, Type 3 - User Mode, x64 > ?? driver." > ?? This operation is not supported > > The print$ share is writable, the files are copying to the temporary > upload folder. And note that the Kyocera driver uploads well. It's > 100% reproducible. > > Increased logging produces tons of logs, but no decodable error > messages in them, at least for me. > > Server side: Debian 12 (bookworm) with stock 4.17.x and > bookworm-backports (4.19.4), but tried with old SLES 12 server with 4.6.x > Client side: Windows 10 22H2 x64 and Windows 11 23H2 x64, "Print > Management" with app. > See my smb.conf below. > > Do you have any ideas? Is print driver uploading known to be broken? > Is these Canon and HP drivers are known to be broken? > Do you have working print servers with print drivers uploaded? What > drivers are you using? > > Thanks! > > [global] > ?? ?netbios name = SANDBOX > ?? ?workgroup = POLI > ?? ?server role = standalone > ?? ?server string = SANDBOX Samba > > ?? ?printing = cups > ?? ?printcap name = cups > ?? ?printcap cache time = 750 > ?? ?cups options = raw > > ?? ?spoolss: architecture = Windows x64 > ?? ?spoolss: os_major = 6 > ?? ?spoolss: os_minor = 1 > ?? ?rpcd_spoolss: num_workers = 10 > ?? ?rpcd_spoolss: idle_seconds = 300 > > ?? ?log level = 2 auth:3 > ?? ?username map = /etc/samba/smbusers > > [print$] > ?? ?comment = Printer Driver Store > ?? ?path = /var/lib/samba/drivers > ?? ?read only = No > > [printers] > ?? ?comment = All Printers > ?? ?path = /var/lib/samba/printers > ?? ?browsable = Yes > ?? ?printable = Yes >
Okay, so I have successfully fixed this one. The main rule: never ever set `spoolss: os_major' and `oss_minor'. It fixes some drivers, but brokes all others. The second rule: restarting the `smbd' process on configuration change is not enough. You have to kill/restart all rpcd_* services, like `rpcd_spoolss'. The third rule: always clean up and double check all permissions, idmaps, etc. Thank you for your support.> Hi, > > I'm working on a minimal print server setup for Windows 10/11 x64 > clients. > No domain, no Kerberos, no LDAP, only a few local users on a > standalone server with some shared CUPS printers. > Printing works well. > > After setting 'spoolss: os_major = 6' and 'spoolss: os_minor = 1' The > *Kyocera KX Universal Driver* has uploaded well. But, that's all. > > No success uploading other print drivers, like *HP Universal Printing > PCL6* and *Canon Generic Plus PCL6 > *All of them are failing with messages like: > > ?? "Unable to install HP Universal Printing PCL 6, Type 3 - User Mode, > ?? x64 driver." > ?? This operation is not supported > > and > > ?? "Unable to install Canon Generic Plus PCL6, Type 3 - User Mode, x64 > ?? driver." > ?? This operation is not supported
Maybe Matching Threads
- rpcclient setdriver fails with WERR_ACCESS_DENIED
- [PATCH v2 2/4] v2v: copy virtio drivers without guestfs handle leak
- Unable to upload printer drivers
- Kyocera P6230cdn driver installation on print server fails
- Kyocera P6230cdn driver installation on print server fails