[Samba] Unable to upload printer drivers

Bernhard Dick bernhard at bdick.de
Mon Apr 8 13:38:51 UTC 2019


Hi,

Am 08.04.2019 um 10:12 schrieb Bernhard Dick via samba:
> Am 25.03.2019 um 14:12 schrieb Marco Gaiarin via samba:
>> [...]
>> Some drivers there's no way to load (for example, some samsung MFP).
>> Some other load, but you have to do 2-5 try before they work.
> I did now try many different drivers from different vendors none of them 
> worked thus I think there is something else wrong.
> I then did some more tests, trying to find anything being wrong with 
> help of the process monitor and activating some more logs on the windows 
> machine. What I see now is that just at the beginning of the upload the 
> following error is in within the PrintService log:
> 
> [Eventinformation]
> Maybe that helps getting to the root cause of the problem?
just some follow up. In the configuration the os_major, os_minor and 
os_build numbers are set to match Windows Server 2008R2(6.1.7601) as one 
of my drivers needs those settings. That seems to result in the Not 
supported-error. When I change the Version back to their defaults (thus 
Windows Server 2003) I am able to upload drivers from a Windows Server 
2008R2 machine, but seeing an error on my Windows 10 machine which 
states Application could not be started.
So I assume that there is something the windows utilities try when they 
communicate with a Windows Server > 2003 which is not working as expected.

Here is the whole Samba-Configuration:
[global]
         load printers = No
         log file = /var/log/samba/log.%m
         logging = file
         max log size = 1000
         realm = DOMAIN
         security = ADS
         server role = member server
         workgroup = IE3
         spoolss:os_build = 7601
         spoolss:os_minor = 1
         spoolss:os_major = 6
         spoolss:architecture = Windows x64
         rpc_daemon:spoolssd = fork
         rpc_server:spoolss = external
         idmap config * : range = 3000-7999
         idmap config * : backend = tdb
         idmap config domain : backend = rid
         idmap config domain : range = 10000-99999

         template shell = /bin/bash
         template homedir = /home/%U


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

[print$]
         map acl inherit = Yes
         path = /srv/samba/printer_drivers/
         read only = No
         vfs objects = acl_xattr


   Regards
     Bernhard



More information about the samba mailing list