This is the dependency issue I was facing.
# dnf install samba-dc
Last metadata expiration check: 2:58:07 ago on Tue 01 Aug 2017 05:35:43 AM MDT.
Error:
Problem: conflicting requests
- nothing provides python2-python = 2:4.7.0-0.7.rc3.fc27 needed by samba-dc-2:4.7.0-0.7.rc3.fc27.x86_64
not sure why it is a package called python2-python as it is samba python modules that they must have packaged up.
I tried some old documents on downloading the source package hoping it might be in there.
I had a setup build environment as it had recommended
rpmdev-setuptree
sudo dnf builddep samba-dc
dnf download --source samba-dc
rpm -ivh samba-4.7.0-0.7.rc3.fc27.src.rpm
rpmbuild -bp ~/rpmbuild/SPECS/samba.spec
seems to unpack the source but stops there with no errors.
This should have built all the rpms.
I force installed the samba-dc package via
dnf download samba-dc
rpm -i --nodeps samba-dc-4.7.0-0.7.rc3.fc27.x86_64.rpm
but then when I try to provision a domain I get
# samba-tool domain provision --use-rfc2307 --interactive
Traceback (most recent call last):
File "/bin/samba-tool", line 33, in <module>
from samba.netcmd.main import cmd_sambatool
ImportError: No module named samba.netcmd.main
Hence why I know above that python2-python must contain the samba python modules
It should probably be built from the samba source if I can get that building.