[Samba] Unable to upload printer drivers
Bernhard Dick
bernhard at bdick.de
Mon Apr 8 08:12:48 UTC 2019
Hi,
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:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-PrintService"
Guid="{747EF6FD-E535-4D16-B510-42C90F6873A1}" />
<EventID>224</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>41</Task>
<Opcode>12</Opcode>
<Keywords>0x4000000000008000</Keywords>
<TimeCreated SystemTime="2019-04-08T08:07:23.917908000Z" />
<EventRecordID>3</EventRecordID>
<Correlation />
<Execution ProcessID="3680" ThreadID="13184" />
<Channel>Microsoft-Windows-PrintService/Operational</Channel>
<Computer>MATDT023.DOMAIN</Computer>
<Security UserID="S-1-5-21-3794950379-127977205-3672732359-3005" />
</System>
- <UserData>
- <RemotePackage
xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events">
<Function>UploadPrinterDriverPackage</Function>
<Error>0x32</Error>
<Server>\\print0</Server>
</RemotePackage>
</UserData>
</Event>
Maybe that helps getting to the root cause of the problem?
> Some other load, but you have to install them on a windows box, and
> then smbclient/rpcclient them in samba (see samba docs, manual driver
> installation). Note that some load, but still does not work.
A minimal upload using rpcclient was possible, but in that case Client
systems do not get the driver version and thus "think" the driver has to
be installed again multiple times.
Regards
Bernhard
More information about the samba
mailing list