Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1397891 - SetPrinter info level 2 marshalling fails
SetPrinter info level 2 marshalling fails
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba (Show other bugs)
7.4
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Andreas Schneider
Robin Hack
:
Depends On:
Blocks: 1399979
  Show dependency treegraph
 
Reported: 2016-11-23 09:08 EST by Andreas Schneider
Modified: 2017-08-01 14:19 EDT (History)
5 users (show)

See Also:
Fixed In Version: samba-4.6.0-0.1.rc3.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-01 14:19:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Samba Project 11197 None None None 2016-11-23 09:08 EST
Red Hat Product Errata RHSA-2017:1950 normal SHIPPED_LIVE Low: samba security, bug fix, and enhancement update 2017-08-01 14:09:24 EDT

  None (edit)
Description Andreas Schneider 2016-11-23 09:08:56 EST
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.
Comment 3 Andreas Schneider 2017-06-06 03:45:45 EDT
This is covered by the upstream test suite. SanityOnly ...
Comment 5 errata-xmlrpc 2017-08-01 14:19:59 EDT
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

Note You need to log in before you can comment on or make changes to this bug.