interesting I just finished building samba. Looking at the built rpms I see the following
[mockbuild@dc1 x86_64]$ ls ctdb-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-client-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-test-4.7.0-0.7.rc3.fc27.x86_64.rpm ctdb-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-client-libs-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-test-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm ctdb-tests-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-client-libs-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-test-libs-4.7.0-0.7.rc3.fc27.x86_64.rpm ctdb-tests-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-common-libs-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-test-libs-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm libsmbclient-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-common-libs-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-vfs-cephfs-4.7.0-0.7.rc3.fc27.x86_64.rpm libsmbclient-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-common-tools-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-vfs-cephfs-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm libsmbclient-devel-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-common-tools-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-vfs-glusterfs-4.7.0-0.7.rc3.fc27.x86_64.rpm libwbclient-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-dc-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-vfs-glusterfs-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm libwbclient-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-dc-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-winbind-4.7.0-0.7.rc3.fc27.x86_64.rpm libwbclient-devel-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-dc-libs-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-winbind-clients-4.7.0-0.7.rc3.fc27.x86_64.rpm python2-samba-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-dc-libs-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-winbind-clients-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm python2-samba-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-winbind-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm python2-samba-test-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-debugsource-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-winbind-krb5-locator-4.7.0-0.7.rc3.fc27.x86_64.rpm python3-samba-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-devel-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-winbind-krb5-locator-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm python3-samba-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-krb5-printing-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-winbind-modules-4.7.0-0.7.rc3.fc27.x86_64.rpm python3-samba-test-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-krb5-printing-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-winbind-modules-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-libs-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-client-4.7.0-0.7.rc3.fc27.x86_64.rpm samba-libs-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm as you can see no python2-python I installed all the python2 rpms as follows [root@dc1 x86_64]# rpm -i python2* error: Failed dependencies: samba-debuginfo(x86-64) = 2:4.7.0-0.7.rc3.fc27 is needed by python2-samba-debuginfo-2:4.7.0-0.7.rc3.fc27.x86_64 [root@dc1 x86_64]# rpm -i python2* samba-debuginfo-4.7.0-0.7.rc3.fc27.x86_64.rpm and now I can run samba-tool domain provision --use-rfc2307 --interactive again (I installed samba-tool using "dnf download samba-dc && rpm -i --nodeps samba-dc*") I too like the bind_dlz method so I'll let you know how that goes, although I forget all I had to do for that. I have an Ubuntu 16.04 that I am doing that with. I use it to populate secondary dns servers (which are actually the ones the rest of my home lab uses) On Tue, Aug 1, 2017 at 8:51 AM, Jeff Sadowski <jeff.sadow...@gmail.com> wrote: > man rpmbuild to the resuce > -ba to build duh. > > On Tue, Aug 1, 2017 at 8:47 AM, Jeff Sadowski <jeff.sadow...@gmail.com> > wrote: > >> 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. >> >> >> >> >> On Tue, Aug 1, 2017 at 8:21 AM, Dario Lesca <d.le...@solinos.it> wrote: >> >>> Fedora 27 have new version of Samba 4.7 with DC-AD enable. >>> https://fedoraproject.org/wiki/Changes/Samba_AD >>> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject >>> .org/message/TTACDGQYZUJKD7ZLMDEYZQ7C34VMMBZX/ >>> >>> I have try the F27 rawhide and I have found (for now) this two bugs. >>> >>> https://bugzilla.redhat.com/show_bug.cgi?id=1476175 >>> >>> https://bugzilla.redhat.com/show_bug.cgi?id=1476187 >>> >>> Today there is this new rpm dependency problem. >>> >>> > # LANG=C dnf update samba >>> > Last metadata expiration check: 2:24:22 ago on Tue Aug 1 12:06:41 >>> 2017. >>> > Dependencies resolved. >>> > >>> > Problem: package samba-dc-2:4.7.0-0.6.rc1.fc27.x86_64 requires samba >>> = 2:4.7.0-0.6.rc1.fc27, but none of the providers can be installed >>> > - cannot install both samba-2:4.7.0-0.7.rc3.fc27.x86_64 and >>> samba-2:4.7.0-0.6.rc1.fc27.x86_64 >>> > - problem with installed package samba-dc-2:4.7.0-0.6.rc1.fc27. >>> x86_64 >>> > - cannot install the best update candidate for package >>> samba-2:4.7.0-0.6.rc1.fc27.x86_64 >>> > - 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 >>> > ============================================================ >>> ============================================================ >>> > Package Arch Version >>> Repository Size >>> > ============================================================ >>> ============================================================ >>> > Skipping packages with conflicts: >>> > (add '--best --allowerasing' to command line to force their upgrade): >>> > samba x86_64 >>> 2:4.7.0-0.7.rc3.fc27 rawhide 663 k >>> > Skipping packages with broken dependencies: >>> > samba-dc x86_64 >>> 2:4.7.0-0.7.rc3.fc27 rawhide 782 k >>> > >>> > Transaction Summary >>> > ============================================================ >>> ============================================================ >>> > Skip 2 Packages >>> > >>> >>> What is the best place to discuss this great new feature (samba AD-DC) >>> of Fedora 27? >>> >>> Thanks >>> >>> -- >>> Dario Lesca >>> (inviato dal mio Linux Fedora 26 Workstation) >>> _______________________________________________ >>> test mailing list -- test@lists.fedoraproject.org >>> To unsubscribe send an email to test-le...@lists.fedoraproject.org >>> >> >> >
_______________________________________________ test mailing list -- test@lists.fedoraproject.org To unsubscribe send an email to test-le...@lists.fedoraproject.org