diff options
author | Jan Cholasta <jcholast@redhat.com> | 2012-03-14 07:54:16 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-15 14:18:03 -0400 |
commit | bd03e67c9d2fc4ad0275e7a573385ee5b7b9307a (patch) | |
tree | 542309173476daaf2ff2f7fdc8898ed8e0fc3539 /src/sss_client/ssh/sss_ssh_knownhostsproxy.c | |
parent | 5363682fb2f4ed7fd0112ac46bb603424179acb7 (diff) | |
download | sssd_unused-bd03e67c9d2fc4ad0275e7a573385ee5b7b9307a.tar.gz sssd_unused-bd03e67c9d2fc4ad0275e7a573385ee5b7b9307a.tar.xz sssd_unused-bd03e67c9d2fc4ad0275e7a573385ee5b7b9307a.zip |
SSH: Allow clients to explicitly specify host alias
This change removes the need to canonicalize host names on the responder
side - the relevant code was removed.
Diffstat (limited to 'src/sss_client/ssh/sss_ssh_knownhostsproxy.c')
-rw-r--r-- | src/sss_client/ssh/sss_ssh_knownhostsproxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sss_client/ssh/sss_ssh_knownhostsproxy.c b/src/sss_client/ssh/sss_ssh_knownhostsproxy.c index 280532b6..19206c3c 100644 --- a/src/sss_client/ssh/sss_ssh_knownhostsproxy.c +++ b/src/sss_client/ssh/sss_ssh_knownhostsproxy.c @@ -275,7 +275,8 @@ int main(int argc, const char **argv) } /* look up public keys */ - ret = sss_ssh_get_ent(mem_ctx, SSS_SSH_GET_HOST_PUBKEYS, host, &ent); + ret = sss_ssh_get_ent(mem_ctx, SSS_SSH_GET_HOST_PUBKEYS, + host, NULL, &ent); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, ("sss_ssh_get_ent() failed (%d): %s\n", ret, strerror(ret))); |