Created attachment 10678 [details]
After upgrading from 4.1.13 to 4.1.16, we're having problems on old XP clients with printing: Sometimes it works, sometimes it doesn't. Also every other time you try to open the printers properties, it fails. And the status sometimes is "OK" and sometimes "Printer not found, no connection".
In the logs I see then
[2015/01/28 15:48:42.379688, 1, pid=4523] ../librpc/ndr/ndr.c:489(ndr_push_error)
ndr_push_error(7): Bad subcontext (PUSH) content_size 104 is larger than size_is(0)
[2015/01/28 15:48:42.379730, 0, pid=4523] ../source3/rpc_server/srv_pipe.c:1395(api_rpcTNP)
api_rpcTNP: \spoolss: SPOOLSS_GETJOB failed.
Is it possible, that this was introduced by one of the fixes in #10905 or #10898?
Created attachment 10679 [details]
Level 10 Debug Log
As mentioned via IRC, I expect this is a duplicate of Bug 10984. Please test the corresponding fix (which is queued for 4.1.17), and update the bug accordingly.
(In reply to David Disseldorp from comment #2)
I've tested the patch from #10984 with 4.1.6 and it fixes the problem. Closing this bug report as a duplicate of #10984.
*** This bug has been marked as a duplicate of bug 10984 ***