[Samba] Unable to upload printer drivers
L.P.H. van Belle
belle at bazuin.nl
Mon Apr 8 14:05:19 UTC 2019
Which drivers? Do you have a link so i can test them myself.
Im running almost same settings and i just installed the samsung universal 3 driver from a win10 X64 pc ( as DOM\Adminstrator)
This one;
?Samsung Universal Print Driver voor Windows 15.9 MB-25.4 MB SamsungUniversalPrintDriver3.exe
On debian 9, samba 4.9.6
My first guess here is, incorrect folder rights, what is in the windows event logs?
My Settings are like any member server (ad backend) + this part.
##### PRINTSERVER PART #######
#enable asu support = yes # NOT TESTED YET.
## Enabling spoolssd
rpc_server:spoolss = external
rpc_daemon:spoolssd = fork
spoolss:architecture = Windows x64
spoolssd:prefork_min_children = 5
spoolssd:prefork_max_children = 25
spoolssd:prefork_spawn_rate = 5
spoolssd:prefork_max_allowed_clients = 100
spoolssd:prefork_child_min_life = 60
load printers = yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
acl_xattr:ignore system acl = yes
browseable = yes
writable = yes
guest ok = no
write list = root, administrator, @"Domain Admins", @lpadmin, @"Print Operators"
[printers]
comment = All Printers
path = /home/samba/printing/spool
acl_xattr:ignore system acl = yes
browseable = yes
printable = yes
printing = CUPS
And ive set all correct right for the printer shares from a windows client.
Due to acl_xattr:ignore system acl = yes
So if your going to use this, you MUST set all right again from windows and with a DOM\Adminsitrator user or member.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Bernhard Dick via samba
> Verzonden: maandag 8 april 2019 15:39
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Unable to upload printer drivers
>
> 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
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list