Red Hat Bugzilla – Bug 1397891
SetPrinter info level 2 marshalling fails
Last modified: 2017-08-01 14:19:59 EDT
Description of problem: Chaning the security list in any printer spool in Samba 4.2.0 fails. [2015/04/06 15:14:35.305842, 4, pid=10303, effective(9201, 513), real(9201, 0), class=rpc_srv] ../source3/rpc_server/srv_pipe.c:1263(api_rpcTNP) api_rpcTNP: spoolss op 0x7 - api_rpcTNP: rpc command: SPOOLSS_SETPRINTER [2015/04/06 15:14:35.305856, 6, pid=10303, effective(9201, 513), real(9201, 0), class=rpc_srv] ../source3/rpc_server/srv_pipe.c:1303(api_rpcTNP) api_rpc_cmds[7].fn == 0x7fa4f333e4ac [2015/04/06 15:14:35.305875, 1, pid=10303, effective(9201, 513), real(9201, 0)] ../librpc/ndr/ndr.c:578(ndr_pull_error) ndr_pull_error(7): Bad subcontext (PULL) size_is(0) mismatch content_size 131076 [2015/04/06 15:14:35.305893, 0, pid=10303, effective(9201, 513), real(9201, 0), class=rpc_srv] ../source3/rpc_server/srv_pipe.c:1308(api_rpcTNP) api_rpcTNP: spoolss: SPOOLSS_SETPRINTER failed. [2015/04/06 15:14:35.305920, 4, pid=10303, effective(9201, 513), real(9201, 0)] ../source3/smbd/sec_ctx.c:421(pop_sec_ctx) pop_sec_ctx (9201, 513) - sec_ctx_stack_ndx = 0 [2015/04/06 15:14:35.305933, 3, pid=10303, effective(9201, 513), real(9201, 0), class=rpc_srv] ../source3/rpc_server/srv_pipe.c:1622(process_complete_pdu) DCE/RPC fault sent!Setting fault state The spoolss IDL is wrong, so the marshalling fails.
This is covered by the upstream test suite. SanityOnly ...
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1950