[PATCH] Fix GetPrinterDriver2 on a newly crated printer

Andreas Schneider asn at samba.org
Wed Nov 16 17:01:25 UTC 2016


Hello,

the attached patches fix an issue when we have a printer without a printer 
driver assigned yet. We should not end up trying to parse an empty driver 
structure and fail.

The second patch improves debug output.


Please review and push!


Thanks,



	Andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_spoolss_getprinterdriver2.patch
Type: text/x-patch
Size: 2769 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161116/c0a18295/fix_spoolss_getprinterdriver2.bin>


More information about the samba-technical mailing list