Hide Forgot
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.
Upstream ticket: https://fedorahosted.org/freeipa/ticket/2657
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.
*** This bug has been marked as a duplicate of bug 801719 ***