Bug 1872833

Summary: RFE: Build winexe and offer it as a subpackage
Product: Red Hat Enterprise Linux 8 Reporter: Neal Gompa <ngompa13>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: abokovoy, afarley, asn, bstinson, carl, dkarpele, gdeschner, jarrpa, jwboyer, riehecky
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.13.2-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:59:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to Samba EL8 packaging to enable winexe (apply with git apply -p2) none

Description Neal Gompa 2020-08-26 17:13:01 UTC
Description of problem:
These days, the winexe tool is maintained as part of the Samba source tree, rather than as an independent project.

Please build winexe and offer it as a subpackage from the samba source package.

Version-Release number of selected component (if applicable):
4.12.3-12.el8.3

Additional info:
Originally, winexe was a separate project, but with samba 4.4, the headers it needed to build were removed, and the sources were absorbed into samba itself. It can only be built from the samba source tree.

(This the RHEL/CentOS equivalent RFE to bug 1661213)

Comment 2 Neal Gompa 2020-08-26 23:10:52 UTC
Created attachment 1712748 [details]
Patch to Samba EL8 packaging to enable winexe (apply with git apply -p2)

I've attached a patch for the RHEL 8 packaging based on the latest content in c8s branch in the CentOS Dist-Git at this time to enable winexe. It can be applied to the RHEL Dist-Git with "git apply -p2" (which accounts for the extra SPECS directory in the patch path and should apply it properly anyway).

I've also submitted a PR to the Fedora samba package to mirror this change: https://src.fedoraproject.org/rpms/samba/pull-request/14

Comment 15 errata-xmlrpc 2021-05-18 14:59:16 UTC
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 (Moderate: samba security, bug fix, and enhancement update), 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-2021:1647