Bug 964675

Summary: Couldn't join realm: Enabling SSSD in nsswitch.conf and PAM failed
Product: [Fedora] Fedora Reporter: Lukas "krteknet" Novy <lnovy>
Component: realmdAssignee: Stef Walter <stefw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ebenes, jhrozek, pkis, stefw, yelley
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: realmd-0.14.2-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 967022 (view as bug list) Environment:
Last Closed: 2013-06-06 02:25:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 967022    
Attachments:
Description Flags
realmd journal none

Description Lukas "krteknet" Novy 2013-05-19 12:31:24 UTC
Created attachment 750039 [details]
realmd journal

Description of problem:
Trying to join AD domain using realm seems to fail, but might successed.
Attached journal points to problem: missing authconfig

Version-Release number of selected component (if applicable):
realmd-0.14.1-1.fc19
sssd-1.10.0-5.fc19.beta1

How reproducible:
Only tried once

Steps to Reproduce:
[root@localhost liveuser]# realm join --user=Hermes-admin security.baseos.qe
Password for Hermes-admin: 
See: journalctl REALMD_OPERATION=r1284.1823
realm: Couldn't join realm: This computer's host name is not set correctly.
[root@localhost liveuser]# hostname dcclient.krtek.net
[root@localhost liveuser]# realm join --user=Hermes-admin security.baseos.qe
  
Actual results:
See: journalctl REALMD_OPERATION=r1326.1833
realm: Couldn't join realm: Enabling SSSD in nsswitch.conf and PAM failed.
$ geten$ getent passwd 'Hermes.qe'
hermes.qe:*:89801138:89800513:Hermes:/home/security.baseos.qe/hermes:/bin/bash

Expected results:
Missing authconfig is automatically installed, domain join success with no error.

Additional info:
Used freeip/ad testday livecd.
Subsequent try of joining fails with
realm: Already joined to this domain

Comment 1 Stef Walter 2013-05-24 10:43:20 UTC
We can just add this as a requires of realmd, since it's needed by all realmd providers, on Fedora/RHEL.

Comment 2 Fedora Update System 2013-05-27 12:07:39 UTC
realmd-0.14.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/realmd-0.14.2-1.fc19

Comment 3 Fedora Update System 2013-05-27 17:01:31 UTC
Package realmd-0.14.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing realmd-0.14.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-9364/realmd-0.14.2-1.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-06-06 02:25:50 UTC
realmd-0.14.2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.