Originally posted by: SystemAdmin
Why is sshd failing to reverse lookup a host that I can lookup in both /etc/hosts and via DNS with short hostname, fully qualified hostname, and IP address?
I am running on the sshd server as follows.
In one window...
host1 # /usr/sbin/sshd -ddd -p7777
debug3: Trying to reverse map address <address here>...
reverse mapping checking getaddrinfo for host1
<address here> failed - POSSIBLE BREAK-IN ATTEMPT!
In another window...
host1 % ssh -vvv -p7777 host1
I am able to login successfully with my password; however, I cannot get KRB5 ticket forwarding to work. I suspect that this could be due to the host lookup problem. After I login via ssh, I can klist successfully; however, I cannot login w/o my password once I have KRB5 creds. Perhaps the processing of the krb5.keytab file is stepping on the same host lookup problem. I have verified that the krb5.keytab works from host1 when root attempts to kinit through it.
I am using KRB5LDAP (kerberos for authentication and ldap for authorization).
I have the following filesets installed.
krb5.client.rte 1.4.0.5 COMMITTED Network Authentication Service
krb5.client.samples 1.4.0.5 COMMITTED Network Authentication Service
krb5.doc.en_US.html 1.4.0.5 COMMITTED Network Auth Service HTML
krb5.doc.en_US.pdf 1.4.0.5 COMMITTED Network Auth Service PDF
krb5.lic 1.4.0.5 COMMITTED Network Authentication Service
krb5.msg.en_US.client.rte 1.4.0.5 COMMITTED Network Auth Service Client
openssh.base.client 4.5.0.5302 COMMITTED Open Secure Shell Commands
openssh.base.server 4.5.0.5302 COMMITTED Open Secure Shell Server
openssh.license 4.5.0.5302 COMMITTED Open Secure Shell License
openssh.man.en_US 4.5.0.5302 COMMITTED Open Secure Shell
openssh.msg.en_US 4.5.0.5302 COMMITTED Open Secure Shell Messages -
krb5.client.rte 1.4.0.5 COMMITTED Network Authentication Service
openssh.base.client 4.5.0.5302 COMMITTED Open Secure Shell Commands
openssh.base.server 4.5.0.5302 COMMITTED Open Secure Shell Server
Any idea why the host reverse lookup is failing?
Any idea why KRB5 ticket forwarding is not working?
Thanks
#AIX-Forum