Description of problem: Attempting to use Cockpit to join an Active Directory domain fails with the error: ! Failed to enroll machine in realm: Failed to execute child process "/usr/bin/net" (No such file or directory) The root of this is that the samba package moved the /usr/bin/net package from samba-common to the samba-common-tools subpackage. realmd needs to be updated to install the correct package. Version-Release number of selected component (if applicable): realmd-0.15.2-1.fc22 How reproducible: Every time Steps to Reproduce: 1. Install Fedora 22 Server Beta RC1 2. Accept all anaconda defaults 3. Log into the Cockpit web UI 4. Attempt to join an Active Directory domain from the "System" tab. (Using correct credentials). See https://fedoraproject.org/wiki/QA:Testcase_realmd_join_sssd Actual results: ! Failed to enroll machine in realm: Failed to execute child process "/usr/bin/net" (No such file or directory) Expected results: Successful domain join Additional info:
Proposed as a Blocker for 22-beta by Fedora user sgallagh using the blocker tracking app because: Alpha criterion: "It must be possible to join the system to a FreeIPA or Active Directory domain at install time and post-install, and the system must respect the identity, authentication and access control configuration provided by the domain."
There are two ways to fix this bug: 1) Adjust comps.xml to include samba-common-tools as part of the @domain-client group 2) Fix realmd to install the correct package on-demand. I'm going to do both, since we want realmd to behave properly in the general case, but on Fedora Server it makes sense to have that package preinstalled as well.
realmd-0.15.2-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/realmd-0.15.2-2.fc22
+1 per the cited criteria
To speed up blocker process, +1 blocker.
+1 blocker, that's +3/4 (inc. Stephen), so setting accepted.
Package realmd-0.15.2-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 realmd-0.15.2-2.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5960/realmd-0.15.2-2.fc22 then log in and leave karma (feedback).
realmd-0.16.0-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/realmd-0.16.0-1.fc22
realmd-0.15.2-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
realmd-0.16.0-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.