Could you back port upstream patch [1]? commit 9643a4b1ef2ada764f454ecc82aa6936217967fc Author: Lukas Slebodnik <lslebodn> AuthorDate: Thu Mar 5 11:26:46 2015 +0100 Commit: Jeremy Allison <jra> CommitDate: Wed Mar 11 18:47:22 2015 +0100 lib/util: Include DEBUG macro in internal header files before samba_util.h It will fix warnings in sssd which are caused by ordering of samba header files with other files. It can be done together with updating new release 4.2.1. [1] https://bugzilla.samba.org/show_bug.cgi?id=11033
samba-4.2.1-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/samba-4.2.1-2.fc22
Package samba-4.2.1-2.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing samba-4.2.1-2.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-6701/samba-4.2.1-2.fc22 then log in and leave karma (feedback).
samba-4.2.1-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/samba-4.2.1-3.fc22
samba-4.2.1-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.