Univention Bugzilla – Bug 33197
printing not possible with windows8 (8.1) if client-side printer drivers are used
Last modified: 2013-12-12 11:30:16 CET
UCS 3.2 (AND UCS 3.1) with univention-samba4. Added a printer (file:/ protocol) in UCS and configured this printer on joined windows clients (8 and 8.1). The printer is available for printing and printing seems to work (no errors in windows), but on the printserver, there is nothing.
works on win7 and winxpsp3
Created attachment 5577 [details] log.smbd
Created attachment 5578 [details] error_log (cups)
the same happens with UCS 3.1
Created attachment 5600 [details] samba level 10 logs The logs show "WERR_INVALID_DATATYPE" due to Windows 8 sending data of type "XPS_PASS" instead of "RAW". The message might originate from line 5748 of source3/rpc_server/spoolss/srv_spoolss_nt.c . The issue might be caused by the v4 printer drivers of windows 8 (see e.g. http://support.microsoft.com/kb/2779300 , which seems to be a different issue though). The behaviour of Windows 8 is a bit surprising as the Windows 8.1 registry shows: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\,,MEMBER43,printer7 -> Datatype: RAW
Created attachment 5624 [details] windows8_printer_driver_v4_XPS_PASS.patch Maybe this patch is enough, untested. I also guess that printing would work with an "old" (v3) printer driver installed from an inf file (instead of one from the windows8 native driver list). I would bet a drink, anyone to try?
Created attachment 5628 [details] windows8_printer_driver_v4_XPS_PASS.patch The attached patch fixed the problem in my test domain.
Patch sent upstream for review.
patch applied 2013-11-20-samba.yaml samba in ucs_3.2-0-errata3.2-0
Verified: * Print jobs send from a windows 8.1 client to a printer share accessed with client side drivers now actually passed by Samba to the CUPS backend. * Advisory OK.
http://errata.univention.de/ucs/3.2/7.html