I have some minor tweaks to the spec file so Samba builds properly for RHEL 7. Syntax errors and missing BuildRequires.
New Samba build is provided with all dependency issues resolved for RHEL6 and RHEL7. samba-4.1.17-7.el7rhgs.x86_64 verified with this build of Samba
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://rhn.redhat.com/errata/RHSA-2015-1495.html