Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
After joining system successfully as ipa-client, Following message shown when i do ssh to ipa-server after kinit
Error looking up public keys
Last login: Wed Apr 18 21:43:55 2012 from 10.65.201.176
Could not chdir to home directory /home/admin: No such file or directory
-bash-4.1$
Version-Release number of selected component (if applicable):
[root@dhcp201-176 ~]# rpm -q ipa-client
ipa-client-2.2.0-9.el6.x86_64
[root@dhcp201-176 ~]#
How reproducible:
Always
Steps to Reproduce:
1.Install IPA Server
2.Join a system as ipa-client using ipa-client-install
[root@dhcp201-176 ~]# ipa-client-install --domain=testrelm.com --realm=TESTRELM.COM -p admin -w Secret123 -U --server=ipa63server.testrelm.com
Discovery was successful!
Hostname: dhcp201-176.englab.pnq.redhat.com
Realm: TESTRELM.COM
DNS Domain: testrelm.com
IPA Server: ipa63server.testrelm.com
BaseDN: dc=testrelm,dc=com
Synchronizing time with KDC...
Enrolled in IPA realm TESTRELM.COM
Created /etc/ipa/default.conf
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm TESTRELM.COM
Warning: Could not update DNS SSHFP records.
SSSD enabled
NTP enabled
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Client configuration complete.
[root@dhcp201-176 ~]#
3.kinit as admin
[root@dhcp201-176 ~]# kinit admin
Password for admin:
[root@dhcp201-176 ~]#
4.ssh to ipa-server system.
[root@dhcp201-176 ~]# ssh admin.com
Error looking up public keys
Last login: Wed Apr 18 21:43:55 2012 from 10.65.201.176
Could not chdir to home directory /home/admin: No such file or directory
-bash-4.1$
Actual results:
Following message is shown
"Error looking up public keys"
Expected results:
Message "Error looking up public keys" should not appear while doing ssh to ipa-server.
Does the server have an SSHFP key?
Is the server running an IPA-based DNS?
It would be helpful to see the client install log, /var/log/ipaclient-install.log.
The issue here is that server SSHFP records are only filled when you install IPA via "ipa-server-install --setup-dns" because they are filled as a part of client installation.
When DNS support is installed separately (ipa-dns-install), SSHFP records for the server are not filled and clients connecting to the master will receive "Error looking up public keys" error. I will open an upstream ticket to fix that.
As discussed with Jan Cholasta, this is a bug on SSSD side, he plans to have it fixed in scope of https://fedorahosted.org/sssd/ticket/1356.
Moving this Bug to sssd component.
Description of problem: After joining system successfully as ipa-client, Following message shown when i do ssh to ipa-server after kinit Error looking up public keys Last login: Wed Apr 18 21:43:55 2012 from 10.65.201.176 Could not chdir to home directory /home/admin: No such file or directory -bash-4.1$ Version-Release number of selected component (if applicable): [root@dhcp201-176 ~]# rpm -q ipa-client ipa-client-2.2.0-9.el6.x86_64 [root@dhcp201-176 ~]# How reproducible: Always Steps to Reproduce: 1.Install IPA Server 2.Join a system as ipa-client using ipa-client-install [root@dhcp201-176 ~]# ipa-client-install --domain=testrelm.com --realm=TESTRELM.COM -p admin -w Secret123 -U --server=ipa63server.testrelm.com Discovery was successful! Hostname: dhcp201-176.englab.pnq.redhat.com Realm: TESTRELM.COM DNS Domain: testrelm.com IPA Server: ipa63server.testrelm.com BaseDN: dc=testrelm,dc=com Synchronizing time with KDC... Enrolled in IPA realm TESTRELM.COM Created /etc/ipa/default.conf Configured /etc/sssd/sssd.conf Configured /etc/krb5.conf for IPA realm TESTRELM.COM Warning: Could not update DNS SSHFP records. SSSD enabled NTP enabled Configured /etc/ssh/ssh_config Configured /etc/ssh/sshd_config Client configuration complete. [root@dhcp201-176 ~]# 3.kinit as admin [root@dhcp201-176 ~]# kinit admin Password for admin: [root@dhcp201-176 ~]# 4.ssh to ipa-server system. [root@dhcp201-176 ~]# ssh admin.com Error looking up public keys Last login: Wed Apr 18 21:43:55 2012 from 10.65.201.176 Could not chdir to home directory /home/admin: No such file or directory -bash-4.1$ Actual results: Following message is shown "Error looking up public keys" Expected results: Message "Error looking up public keys" should not appear while doing ssh to ipa-server.