[Samba] Unable to upload printer drivers
L.P.H. van Belle
belle at bazuin.nl
Tue Nov 7 09:36:08 UTC 2017
Hai Manu,
Well, i can say... Its not you..
I did the following as test.
Startup 2 pc's X64 w7 + w10
Open printer manager tool and connect to the server.
Steps done.
Create a new printer in cups.
=> after 15 min, in both pc's the new printer is shown correctly.
Test 1 and 2. samba 4.6.8 and 4.6.9 own packages.
W7, setup/upload/delete of an HP LaserjetII driver ( a original windows driver )
W7, result, everything works fine.
W10, upload, fails, tried every ( option from windows ) to upload te driver. All fail.
Link te test printer to the an other already uploaded driver, that works fine.
Delete of the driver, ( uploaded by the Win7 ) works fine.
Test 2. samba 4.6.9 own packages.
W7, setup/upload/delete of an HP LaserjetII driver ( a original windows driver )
W7, result, everything works fine.
W10, upload, fails, tried every ( option from windows ) to upload te driver. All fail.
Link te test printer to the an other already uploaded driver, that works fine.
Delete of the driver, ( uploaded by the Win7 ) works fine.
I did set a debug level 10 and a grep on "error", and a snap of the messages.
log.smbd.old:7556: get_ea_dos_attribute: Cannot get attribute from EA on file x64/{B0742FF4-0852-4602-897C-F2DA41E310D8}/..: Error = No data available
log.smbd.old:8781:[2017/11/07 10:05:29.440354, 3, pid=936, effective(10000, 10000), real(10000, 0)] ../source3/smbd/smb2_server.c:3097(smbd_smb2_request_error_ex)
log.smbd.old:8782: smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[9] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
log.smbd.old:21983:[2017/11/07 10:05:29.563631, 3, pid=936, effective(10000, 10000), real(10000, 0)] ../source3/smbd/smb2_server.c:3097(smbd_smb2_request_error_ex)
log.smbd.old:21984: smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[9] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
log.smbd.old:33862: get_ea_dos_attribute: Cannot get attribute from EA on file x64/{B0742FF4-0852-4602-897C-F2DA41E310D8}/..: Error = No data available
open_directory: unable to create x64/3. Error was NT_STATUS_OBJECT_NAME_COLLISION
Now, some messages are fixed in 4.7.1. ( see : https://www.samba.org/samba/history/samba-4.7.1.html )
And i was already busy with building new 4.7.1 packages for debian so.
Give me some time, and i'll report how test 3 is resulting.
I'll post about the new package in few min also.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Manu
> Baylac via samba
> Verzonden: maandag 6 november 2017 18:49
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Unable to upload printer drivers
>
> Hello Louis,
>
>
> Le 06/11/2017 à 13:30, L.P.H. van Belle via samba a écrit :
>
> > Can you post the output of:
> >
> > getfacl /var/lib/samba/printers
> > And
> > getfacl /var/lib/samba/printers/x64
>
> I didn't put any acl so these are the default ones.
> But the folders have root as owner and Administrator is
> mapped to root,
> and i do my things with Administrator account, so it doesn't
> seem to be
> a rights problem.
>
> > And run
> > net rpc rights list accounts -Uadministrator
>
> [...]
> BUILTIN\Administrators
> SeMachineAccountPrivilege
> SeTakeOwnershipPrivilege
> SeBackupPrivilege
> SeRestorePrivilege
> SeRemoteShutdownPrivilege
> SePrintOperatorPrivilege
> SeAddUsersPrivilege
> SeDiskOperatorPrivilege
> SeSecurityPrivilege
> SeSystemtimePrivilege
> SeShutdownPrivilege
> SeDebugPrivilege
> SeSystemEnvironmentPrivilege
> SeSystemProfilePrivilege
> SeProfileSingleProcessPrivilege
> SeIncreaseBasePriorityPrivilege
> SeLoadDriverPrivilege
> SeCreatePagefilePrivilege
> SeIncreaseQuotaPrivilege
> SeChangeNotifyPrivilege
> SeUndockPrivilege
> SeManageVolumePrivilege
> SeImpersonatePrivilege
> SeCreateGlobalPrivilege
> SeEnableDelegationPrivilege
>
>
> >> As i said, i can upload drivers without problem with w7, but
> >> i can't see he printers, despite with firefox of my windows i
> >> can see them...
>
> Mmm, windows7 firewall is the culprit. I deactivate it,
> refresh, and i
> can see my printers.
>
> So to sum it up, with the same configuration :
> - Under w7, all work fine (upload and assign to printer).
> - Under w10, i see the printer but unable to upload driver.
>
> I think it's a bug, maybe something to change in the .inf file.
>
> Tomorrow i will be at work and will try to install locally on a win10
> the driver to confirm it works with this os. And ask to the
> administrator of another network that uses the same printer model to
> give me the driver he uses if it isn't the same.
>
> I 'm looking forward your feedback of your test under w10 :-)
>
> Thanks Louis.
>
> --
> Manu
>
>
>
>
> --
> 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