Unable to upload printer drivers

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to upload printer drivers

Samba - General mailing list
        Hi all,


i get struck with nearly the same problem as here :
https://lists.samba.org/archive/samba/2016-December/205088.html
excepted the NT_ error.

And the thread ends suddenly without solution. And i tested all that
Louis and Rowland proposed.

Printer server as domain member but here with rid backend.
Debian stretch : samba 4.5.12 (debian package), also tested with 4.6.7
and 4.6.8 (Louis package)
Windows 10 64 bits
Posix acl
SePrivileges ok.

And i also tested on my AD DC with Windows ACL, same error. But i want
the print server on a domain member.

i followed all the wiki pages about setup a print server.

My printer is a Toshiba e-studio 4555CSE and i downloaded the driver
from the official web site (type 3),and i tested with others printers
randomly chosen on the net (epson, brother,...)

In printmanagement.msc i can add the server, and i can see the printer
configured in cups.

On windows side, upload seems to go fine but 2 seconds after the end of
the progress bar, I've got the message : "Impossible to install xxxx
driver, access denied"

And on print server in syslog :

Nov  1 18:57:22 winix-test smbd[362]: [2017/11/01 18:57:22.357896,  0]
../source3/rpc_server/spoolss/srv_spoolss_nt.c:8476(_spoolss_AddPrinterDriverEx)
Nov  1 18:57:22 winix-test smbd[362]:   _spoolss_AddPrinterDriverEx:
level 8 not yet implemented
Nov  1 18:57:22 winix-test smbd[362]: [2017/11/01 18:57:22.458270,  0]
../source3/printing/nt_printing.c:1097(move_driver_file_to_download_area)
Nov  1 18:57:22 winix-test smbd[362]:
move_driver_file_to_download_area: Unable to rename
[x64/eSf6psf_builtin.dll] to [x64/3/eSf6psf_builtin.dll]:
NT_STATUS_SHARING_VIOLATION


My smb.conf :

[global]

security = ADS
        workgroup = TEST
        realm = TEST.EUS

        log file = /var/log/samba/%m.log
        log level = 10

        idmap config * : backend = tdb
        idmap config * : range = 3000-7999

        idmap config TEST : backend = rid
        idmap config TEST : range = 10000-999999

        username map = /var/lib/samba/etc/user.map

        rpc_server:spoolss = external
        rpc_daemon:spoolssd = fork

        spoolss: architecture = Windows x64

        printing = CUPS
        load printers = no

[printers]
        path = /var/spool/samba/
        printable = yes

[print$]
        path = /srv/samba/printers
        read only = no


What i missed or stupid thing did ?

Thanks !

Regards,

--
Manu









--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
        Hi list,


        Problem solved with an account of Domain Admins group.
I was thinking it was possible with the Administrator account with
SePrintOperatorPrivilege right and with "username map" in smb.conf.

Sorry for the noise.

Regards,

--
Manu

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
In reply to this post by Samba - General mailing list
Hai,

Sorry for the slow reaction here. I was few days out of the office.
But can you try the universal 2 driver. That one works fine for me.
And if you send me the exact driver your trying to me, i'll test that one in my setup.

Greetz,

Louis
 

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:[hidden email]] Namens Manu
> Baylac via samba
> Verzonden: woensdag 1 november 2017 19:58
> Aan: [hidden email]
> Onderwerp: [Samba] Unable to upload printer drivers
>
> Hi all,
>
>
> i get struck with nearly the same problem as here :
> https://lists.samba.org/archive/samba/2016-December/205088.html
> excepted the NT_ error.
>
> And the thread ends suddenly without solution. And i tested all that
> Louis and Rowland proposed.
>
> Printer server as domain member but here with rid backend.
> Debian stretch : samba 4.5.12 (debian package), also tested
> with 4.6.7
> and 4.6.8 (Louis package)
> Windows 10 64 bits
> Posix acl
> SePrivileges ok.
>
> And i also tested on my AD DC with Windows ACL, same error.
> But i want
> the print server on a domain member.
>
> i followed all the wiki pages about setup a print server.
>
> My printer is a Toshiba e-studio 4555CSE and i downloaded the driver
> from the official web site (type 3),and i tested with others printers
> randomly chosen on the net (epson, brother,...)
>
> In printmanagement.msc i can add the server, and i can see
> the printer
> configured in cups.
>
> On windows side, upload seems to go fine but 2 seconds after
> the end of
> the progress bar, I've got the message : "Impossible to install xxxx
> driver, access denied"
>
> And on print server in syslog :
>
> Nov  1 18:57:22 winix-test smbd[362]: [2017/11/01
> 18:57:22.357896,  0]
> ../source3/rpc_server/spoolss/srv_spoolss_nt.c:8476(_spoolss_A
> ddPrinterDriverEx)
> Nov  1 18:57:22 winix-test smbd[362]:   _spoolss_AddPrinterDriverEx:
> level 8 not yet implemented
> Nov  1 18:57:22 winix-test smbd[362]: [2017/11/01
> 18:57:22.458270,  0]
> ../source3/printing/nt_printing.c:1097(move_driver_file_to_dow
> nload_area)
> Nov  1 18:57:22 winix-test smbd[362]:
> move_driver_file_to_download_area: Unable to rename
> [x64/eSf6psf_builtin.dll] to [x64/3/eSf6psf_builtin.dll]:
> NT_STATUS_SHARING_VIOLATION
>
>
> My smb.conf :
>
> [global]
>
> security = ADS
>         workgroup = TEST
>         realm = TEST.EUS
>
>         log file = /var/log/samba/%m.log
>         log level = 10
>
>         idmap config * : backend = tdb
>         idmap config * : range = 3000-7999
>
>         idmap config TEST : backend = rid
>         idmap config TEST : range = 10000-999999
>
>         username map = /var/lib/samba/etc/user.map
>
>         rpc_server:spoolss = external
>         rpc_daemon:spoolssd = fork
>
>         spoolss: architecture = Windows x64
>
> printing = CUPS
> load printers = no
>
> [printers]
>         path = /var/spool/samba/
>         printable = yes
>
> [print$]
>         path = /srv/samba/printers
>         read only = no
>
>
> What i missed or stupid thing did ?
>
> Thanks !
>
> Regards,
>
> --
> Manu
>
>
>
>
>
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
        Hello Louis and list,


Le 03/11/2017 à 10:25, L.P.H. van Belle via samba a écrit :

> Sorry for the slow reaction here. I was few days out of the office.

No problem, thanks for your quick answer.

> But can you try the universal 2 driver. That one works fine for me.
> And if you send me the exact driver your trying to me, i'll test that one in my setup.

In my second mail, i said that finally i successfully installed the
driver... but only once...
i deleted the driver, reinstalled and... same error.

After hours and near becoming crazy (because it is a very basic setup),
trying to reproduce the problem before responding, i finally installed a
win7 and...booo...no problem, works fine with all drivers...

I'm not a windows user, so i downloaded win10 from microsoft website
for my platform test since now it's possible. And in the school where i
get the exactly same error, they have official windows10 with purchased
licenses.
So a friend gave me an official iso of W7 to test in the same context on
my platform and it works like a charm, i didn't change anything in my
configuration.

The driver i used is the one you mentioned (i wrote type 3 because on
the wiki page the term is used and the full error on windows side is :
impossible to install Toshiba Universal Printer2, type3 - user mode, x64
access denied). The only available driver on toshiba official site is
W2012/8.1/8, but i think it is compatible with w10 since this printer is
still proposed by suppliers.

So, Louis, do you tested under windows10 ??? The problem is that in the
school they use windows10 so i must find the solution.

And what does mean NT_STATUS_SHARING_VIOLATION error ?

Ah, and when i try to upload under w10 the 32 bits driver, same error on
windows but the NT_ error doesn't appear in syslog.

Here is what can i say...with my poor english, sorry.

Any suggestion ?

Thanks !

Regards,

--
Manu







--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
Le 03/11/2017 à 20:21, Manu Baylac via samba a écrit :

> So, Louis, do you tested under windows10 ??? The problem is that in the
> school they use windows10 so i must find the solution.

Pfff, tired and time to turn off computers...

Problem is solved for me, since i can upload now the gpo will do his
work and drivers will install automatically. Because yes, the driver
works under w10, some users use it. I tried to install on my test
computer, it begins well but printer is needed to complete the
installation and i'm at home.

But i'm interested by the answers of my questions of my previous mail
(meaning of the NT_ error and why it doesn't work).

--
Manu

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
In reply to this post by Samba - General mailing list
Hai Manu,



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:[hidden email]] Namens Manu
> Baylac via samba
> Verzonden: vrijdag 3 november 2017 20:21
> Aan: [hidden email]
> Onderwerp: Re: [Samba] Unable to upload printer drivers
>
> Hello Louis and list,
>
>
> Le 03/11/2017 à 10:25, L.P.H. van Belle via samba a écrit :
>
> > Sorry for the slow reaction here. I was few days out of the office.
>
> No problem, thanks for your quick answer.
>
> > But can you try the universal 2 driver. That one works fine for me.
> > And if you send me the exact driver your trying to me, i'll
> test that one in my setup.
>
> In my second mail, i said that finally i successfully installed the
> driver... but only once...
> i deleted the driver, reinstalled and... same error.
You might have hit a bug here.

>
> After hours and near becoming crazy (because it is a very
> basic setup),
> trying to reproduce the problem before responding, i finally
> installed a
> win7 and...booo...no problem, works fine with all drivers...
>
> I'm not a windows user, so i downloaded win10 from microsoft website
> for my platform test since now it's possible. And in the
> school where i get the exactly same error, they have official windows10 with
> purchased licenses.
> So a friend gave me an official iso of W7 to test in the same
> context on
> my platform and it works like a charm, i didn't change anything in my
> configuration.
>
> The driver i used is the one you mentioned (i wrote type 3 because on
> the wiki page the term is used and the full error on windows
> side is :
> impossible to install Toshiba Universal Printer2, type3 -
> user mode, x64
> access denied). The only available driver on toshiba official site is
> W2012/8.1/8, but i think it is compatible with w10 since this
> printer is
> still proposed by suppliers.
>
> So, Louis, do you tested under windows10 ??? The problem is
> that in the
> school they use windows10 so i must find the solution.
I normaly onlu use windows 7, since that works fine for me, but i'll setup a win10 and give it a try.

My cups server publishes x64 by default and you need a win32 and a win64 pc to upload both drivers.
Atm i only do 64bit drivers since i dont have any 32bit os running anymore.

>
> And what does mean NT_STATUS_SHARING_VIOLATION error ?
I this this is related to :  access denied  


Now, this is something you can try and i'll explain what is difference in my setup.
Most users dont use spoolss and dont use the architecture setttings.
    rpc_server:spoolss = external
    rpc_daemon:spoolssd = fork
    spoolss:architecture = Windows x64

Now, since you number ... Somany who says its not working and here it is, ive done a good checka again in my setup.
( the install if from 2015, as of samba 4.2 )
There as a "historyical" bug, about lower and uppercased characters in (Debian) /var/lib/samba/printers/

The good layout, untouched as of 2016.
root@rtd-print1:~# ls -al /var/lib/samba/printers/
drwxr-xr-x  2 root root 4096 Mar 11  2016 COLOR
drwxr-xr-x  2 root root 4096 Mar 11  2016 IA64
drwxr-xr-x  2 root root 4096 Mar 11  2016 W32ALPHA
drwxr-xr-x  2 root root 4096 Mar 11  2016 W32MIPS
drwxr-xr-x  2 root root 4096 Mar 11  2016 W32PPC
drwxr-xr-x  2 root root 4096 Mar 11  2016 W32X86
drwxr-xr-x  2 root root 4096 Mar 11  2016 WIN40
drwxr-xr-x  2 root root 4096 Mar 11  2016 x64

But this is what im using ( since aug 2015 )
I symlinked very folder lower to uppercase, now this bug was i believe on the X64/x64, but i did them all.

root@rtd-print1:~# ls -al /home/samba/printers/
drwxr-xr-x   4 root root 4096 Aug  7 10:35 ..
lrwxrwxrwx   1 root root    5 Aug  2  2016 color -> COLOR
drwxrwx---+  2 root root 4096 Aug  6  2015 COLOR
lrwxrwxrwx   1 root root    4 Aug  2  2016 ia64 -> IA64
drwxrwx---+  2 root root 4096 Aug  6  2015 IA64
drwxrwx---+  2 root root 4096 Aug  6  2015 W32ALPHA
lrwxrwxrwx   1 root root    7 Aug  2  2016 w32mips -> W32MIPS
drwxrwx---+  2 root root 4096 Aug  6  2015 W32MIPS
lrwxrwxrwx   1 root root    6 Aug  2  2016 w32ppc -> W32PPC
drwxrwx---+  2 root root 4096 Aug  6  2015 W32PPC
lrwxrwxrwx   1 root root    6 Aug  2  2016 w32x86 -> W32X86
drwxrwx---+  4 root root 4096 Oct 24  2016 W32X86
lrwxrwxrwx   1 root root    5 Aug  2  2016 win40 -> WIN40
drwxrwx---+  2 root root 4096 Aug  6  2015 WIN40
drwxrwx---+  3 root root 4096 Oct 10 09:59 x64
lrwxrwxrwx   1 root root    3 Aug 18  2016 X64 -> x64

At least a thing you can try.

>
> Ah, and when i try to upload under w10 the 32 bits driver,
> same error on
> windows but the NT_ error doesn't appear in syslog.
>
> Here is what can i say...with my poor english, sorry.
Ah, well its as good as mine ;-)

>
> Any suggestion ?
>
> Thanks !
>
> Regards,
>
> --
> Manu

Greetz,

Louis


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
        Hello Louis,


Le 06/11/2017 à 11:22, L.P.H. van Belle via samba a écrit :

> I normaly onlu use windows 7, since that works fine for me, but i'll setup a win10 and give it a try.

Ok, cool.

> My cups server publishes x64 by default and you need a win32 and a win64 pc to upload both drivers.

Yes I know this, see below.

> Now, this is something you can try and i'll explain what is difference in my setup.
> Most users dont use spoolss and dont use the architecture setttings.
>      rpc_server:spoolss = external
>      rpc_daemon:spoolssd = fork
>      spoolss:architecture = Windows x64

I gave my smb.conf in my first mail and I've got this lines, I strictly
followed the wiki.
And also tried without, and same error uploading 32 bit driver.


> There as a "historyical" bug, about lower and uppercased characters in (Debian) /var/lib/samba/printers/
> I symlinked very folder lower to uppercase, now this bug was i believe on the X64/x64, but i did them all.

Yes, i saw an old thread where you proposed that. Also tried this... and
same error. But we can see that it tries to copy to x64 folder.

And randomly sometimes there is a second error WERR_ACCESS_DENIED (with
administrator account or domain admins account) who have full rights.

Nov  6 12:09:01 winix-test-ps2 smbd[465]: [2017/11/06 12:09:01.240015,
0, pid=465, effective(0, 0), real(0, 0)]
../source3/printing/nt_printing.c:1144(move_driver_file_to_download_area)
Nov  6 12:09:01 winix-test-ps2 smbd[465]:
move_driver_file_to_download_area: Unable to rename
[x64/{D1FB7FC7-C3D6-44BE-99F4-069DC8C66642}/eSf6usf_builtin.dll] to
[x64/3/eSf6usf_builtin.dll]: NT_STATUS_SHARING_VIOLATION
Nov  6 12:09:01 winix-test-ps2 smbd[465]: [2017/11/06 12:09:01.240123,
0, pid=465, effective(0, 0), real(0, 0), class=rpc_srv]
../source3/rpc_server/spoolss/srv_spoolss_nt.c:8614(_spoolss_AddPrinterDriverEx)
Nov  6 12:09:01 winix-test-ps2 smbd[465]:   _spoolss_AddPrinterDriverEx:
move_driver_to_download_area failed - WERR_ACCESS_DENIED


And another thing illogical :

As i said, i can upload drivers without problem with w7, but i can't see
the printers, despite with firefox of my windows i can see them... Did
you do something particular to see printers under seven ?

So i'm juggling w7 and w10... w7 to upload drivers and w10 to assign
driver to the printer.

So finally, i can finalize my setup, but i like understanding what I'm
doing and the origin of problems :-)


Thanks again Louis.

Regards,

--
Manu





--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
Hai Manu,

Can you post the output of:

getfacl /var/lib/samba/printers
And
getfacl  /var/lib/samba/printers/x64

And run
net rpc rights list accounts -Uadministrator


These are often forgotten or wrong set.

NT Authority\SYSTEM
NT Authority\Authenticated Users

Set on the share AND folder rights.

Share: SYSTEM: Full control.
Share: Verified users: Full controll

Folder security: SYSTEM: Full control
Folder security: Verified users: Read

My share for the driver setup:
[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, @lpadmin, administrator, @"Domain Admins", @"Print Operators"
   # lpadmin also contains one of my users to have Kerberized SSO login on the cups webinterface.
   # without that kerberized SSO did not work.

The management pc is win7 64bit and only "Administrator" is used on that (domain joined) pc.

Win10 wel be tomorrow, then i have one free to use.

Greetz,

Louis

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:[hidden email]] Namens Manu
> Baylac via samba
> Verzonden: maandag 6 november 2017 12:32
> Aan: [hidden email]
> Onderwerp: Re: [Samba] Unable to upload printer drivers
>
> Hello Louis,
>
>
> Le 06/11/2017 à 11:22, L.P.H. van Belle via samba a écrit :
>
> > I normaly onlu use windows 7, since that works fine for me,
> but i'll setup a win10 and give it a try.
>
> Ok, cool.
>
> > My cups server publishes x64 by default and you need a
> win32 and a win64 pc to upload both drivers.
>
> Yes I know this, see below.
>
> > Now, this is something you can try and i'll explain what is
> difference in my setup.
> > Most users dont use spoolss and dont use the architecture setttings.
> >      rpc_server:spoolss = external
> >      rpc_daemon:spoolssd = fork
> >      spoolss:architecture = Windows x64
>
> I gave my smb.conf in my first mail and I've got this lines,
> I strictly
> followed the wiki.
> And also tried without, and same error uploading 32 bit driver.
>
>
> > There as a "historyical" bug, about lower and uppercased
> characters in (Debian) /var/lib/samba/printers/
> > I symlinked very folder lower to uppercase, now this bug
> was i believe on the X64/x64, but i did them all.
>
> Yes, i saw an old thread where you proposed that. Also tried
> this... and
> same error. But we can see that it tries to copy to x64 folder.
>
> And randomly sometimes there is a second error
> WERR_ACCESS_DENIED (with
> administrator account or domain admins account) who have full rights.
>
> Nov  6 12:09:01 winix-test-ps2 smbd[465]: [2017/11/06
> 12:09:01.240015,
> 0, pid=465, effective(0, 0), real(0, 0)]
> ../source3/printing/nt_printing.c:1144(move_driver_file_to_dow
> nload_area)
> Nov  6 12:09:01 winix-test-ps2 smbd[465]:
> move_driver_file_to_download_area: Unable to rename
> [x64/{D1FB7FC7-C3D6-44BE-99F4-069DC8C66642}/eSf6usf_builtin.dll] to
> [x64/3/eSf6usf_builtin.dll]: NT_STATUS_SHARING_VIOLATION
> Nov  6 12:09:01 winix-test-ps2 smbd[465]: [2017/11/06
> 12:09:01.240123,
> 0, pid=465, effective(0, 0), real(0, 0), class=rpc_srv]
> ../source3/rpc_server/spoolss/srv_spoolss_nt.c:8614(_spoolss_A
> ddPrinterDriverEx)
> Nov  6 12:09:01 winix-test-ps2 smbd[465]:  
> _spoolss_AddPrinterDriverEx:
> move_driver_to_download_area failed - WERR_ACCESS_DENIED
>
>
> And another thing illogical :
>
> As i said, i can upload drivers without problem with w7, but
> i can't see
> the printers, despite with firefox of my windows i can see
> them... Did you do something particular to see printers under seven ?

No, if you use cups, then just wait about 15 min, do a refresh (on the pc print admin), and you should see the printer in the windows print admin.
These are my steps i follow.
1, create printer in cups.
2, wait about 15 min to get if in the win printer admin.
3, update the driver.
4, attacht the drivers.
5, setup GPO to deploy them to the pc's.
Clients are win7 and win10 64bit.




>
> So i'm juggling w7 and w10... w7 to upload drivers and w10 to assign
> driver to the printer.
>
> So finally, i can finalize my setup, but i like understanding
> what I'm
> doing and the origin of problems :-)
>
>
> Thanks again Louis.
>
> Regards,
>
> --
> Manu
>
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
        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
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
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:[hidden email]] Namens Manu
> Baylac via samba
> Verzonden: maandag 6 november 2017 18:49
> Aan: [hidden email]
> 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
>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
        Hi Louis,


Le 07/11/2017 à 10:36, L.P.H. van Belle via samba a écrit :

> Well, i can say... Its not you..

Ok, so i will continue juggling w10 and w7, not a problem to finalize my
network.

> Now, some messages are fixed in 4.7.1. ( see : https://www.samba.org/samba/history/samba-4.7.1.html )

Ok, I've tested with your 4.7 package and it also failed but with a
different error if i remember well.

And on the toshiba english page, i found type4 driver so i will test it
with 4.7x.

> 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.

Take your time, I imagine you're overbooked and i've the workaround with
seven. And in any case my students could install drivers locally on
their computers. But i want to show and convince them that samba and
free software are a good alternative... that works fine :-)

Thanks a lot for your precious feedback, and congratulations to all
samba team and you (i use debian) for your work !

Regards,

--
Manu



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: Unable to upload printer drivers

Samba - General mailing list
About the Toshiba driver, there also get the universal.
I've tested these last year and these should work fine also on win7.

And overbooked, yeah, but who isnt these days.
> Take your time, I imagine you're overbooked and i've the
> workaround with
> seven. And in any case my students could install drivers locally on
> their computers. But i want to show and convince them that samba and
> free software are a good alternative... that works fine :-)

Nice, and you use debian, so here is a nice project for you students...

Make a project of this.
Samba4 ADDC
Samba4 File server
Samba4 Print server
Samba4 + Squid Proxy
Samba4 + kopano Groupware (setup against the AD).
Samba4 + Owncloud. ( integrated in kopano also )
Kopano + z-push + webserver
MailScanner + spammassassin in sql, linked to kopano, with user that can train spam.

And then integrate this all in one or setup per server.
Above is bit where im working at/too.  ;-)
A modular copy of a windows SBS server but fully free.
But a great thing to teach, because above is not just install.
You must think in advance where/how/what.

;-)  
Ah, and 4.7.1 almost ready with building, so after lunch i go test the packages.


Greetz,

Louis
 

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:[hidden email]] Namens Manu
> Baylac via samba
> Verzonden: dinsdag 7 november 2017 11:51
> Aan: [hidden email]
> Onderwerp: Re: [Samba] Unable to upload printer drivers
>
> Hi Louis,
>
>
> Le 07/11/2017 à 10:36, L.P.H. van Belle via samba a écrit :
>
> > Well, i can say... Its not you..
>
> Ok, so i will continue juggling w10 and w7, not a problem to
> finalize my
> network.
>
> > Now, some messages are fixed in 4.7.1. ( see :
> https://www.samba.org/samba/history/samba-4.7.1.html )
>
> Ok, I've tested with your 4.7 package and it also failed but with a
> different error if i remember well.
>
> And on the toshiba english page, i found type4 driver so i
> will test it
> with 4.7x.
>
> > 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.
>

>
> Thanks a lot for your precious feedback, and congratulations to all
> samba team and you (i use debian) for your work !
>
> Regards,
>
> --
> Manu
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba