Bug 10553 - Error0x00000006 with Point'n'Print Client Drivers
Error0x00000006 with Point'n'Print Client Drivers
Status: NEEDINFO
Product: Samba 3.6
Classification: Unclassified
Component: Printing
3.6.3
x64 Linux
: P5 major
: ---
Assigned To: printing-maintainers
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-15 06:29 UTC by Matthias
Modified: 2015-05-18 12:54 UTC (History)
2 users (show)

See Also:


Attachments
Screenshot, config and logs (358.32 KB, application/x-gzip)
2014-04-15 06:29 UTC, Matthias
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2014-04-15 06:29:41 UTC
Created attachment 9851 [details]
Screenshot, config and logs

As requested from the samba.list

This is a 
UBUNTU 12.04 printerserver only setup
Samba 3.6.3 (as provided by UBUNTU)
Setup as Standalone-Server
All printers Kyocera
Kyo-Driver 6.1.1.1118 

account "Administrator" created in Linux
created group lpadmin
added "administrator" and "root" to lpadmin
granted 777 to /var/spool/samba

root@ps1:~# ls -l /var/spool
insgesamt 20
drwxr-xr-x 5 root   root 4096 Mär 31 17:38 cron
drwx--x--- 3 root   lp   4096 Apr 14 23:34 cups
lrwxrwxrwx 1 root   root    7 Mär 31 17:29 mail -> ../mail
drwxr-xr-x 2 root   root 4096 Mai 17  2013 plymouth
drwxr-xr-x 2 syslog adm  4096 Nov 26 20:40 rsyslog
drwxrwxrwt 2 root   root 4096 Apr 14 14:19 samba
root@ps1:~#

granted 2777 to /samba/printers (printer drivers; path for print$)

root@ps1:~# ls -l /samba
insgesamt 8
drwxrwsrwx 10 root root 4096 Mär 31 17:38 printers
drwxrwxrwx  2 root root 4096 Apr 14 15:01 probe
root@ps1:~#

account "Administrator" created in Samba
Assinged SePrintOperatorPrivilege to "Administrator"

CUPS-Queues detected - OK
Samba printer shares offered - OK
Driver Upload - OK
Driver associated - OK
Driver Download - OK

Print Testpage from Windows7x64-box - fail
with Error 0x00000006

We see some zero-sized spoolfile in /var/spool/samba

Remote Session (teamviewer) possible!
Comment 1 Andreas Schneider 2014-05-16 07:38:05 UTC
Hi, I'm sorry but Samba 3.6 is in security bugfixes only mode.

Can you please try to reproduce it with the latest Samba release? I it still exists, there we will take care of it!
Comment 2 Matthias 2014-05-16 08:53:39 UTC
Sure I would, if I could find a package that would install on Ubuntu 12.04?!

Samba 4 integration to ubuntu 12.04 is incomplete sucks and is just nothing I can leave with a customer. If you have a chance to push them...

The customer has returned to Samaba3.03 with LPRNG

But it should be easy for you to test these Kyocera drivers in general. To get to the point where it fails you do not need a Kyocera printer.

You have a Cups-Queue, you assign RAW-driver in cups, do not share the printer from CUPS, see the queue show up in Samba then add the driver to "Remote printer".

There is really nothing special in the setup except that the print server is not member of a domain thus it should be a public print server.

Sorry, but I will not be available for the next 10 days to test something.
Comment 3 sebastien 2015-05-18 12:54:09 UTC
I have exactly the same issue with the newest Kyocera drivers on Debian Jessie with samba 4.1.17

Printers installed via Point'n'Print :

 - Printing from Windows7x64 fails with Error 0x00000006
 - zero-sized spoolfile in /var/spool/samba


On the same server, I have no problem at all with 2 HP printers nor with another Kyocera printer supported via some other older driver.