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/responder/ssh/sshsrv.c | |
parent | 5363682fb2f4ed7fd0112ac46bb603424179acb7 (diff) | |
download | sssd-bd03e67c9d2fc4ad0275e7a573385ee5b7b9307a.tar.gz sssd-bd03e67c9d2fc4ad0275e7a573385ee5b7b9307a.tar.xz sssd-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/responder/ssh/sshsrv.c')
-rw-r--r-- | src/responder/ssh/sshsrv.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/responder/ssh/sshsrv.c b/src/responder/ssh/sshsrv.c index 8e979a78..f0cee9f0 100644 --- a/src/responder/ssh/sshsrv.c +++ b/src/responder/ssh/sshsrv.c @@ -26,7 +26,6 @@ #include "responder/common/responder.h" #include "responder/ssh/sshsrv_private.h" #include "providers/data_provider.h" -#include "resolv/async_resolv.h" struct sbus_method monitor_ssh_methods[] = { { MON_CLI_METHOD_PING, monitor_common_pong }, @@ -129,12 +128,6 @@ int ssh_process_init(TALLOC_CTX *mem_ctx, ssh_dp_reconnect_init, iter); } - ret = resolv_init(ssh_ctx, ev, RESOLV_DEFAULT_TIMEOUT, &ssh_ctx->resolv); - if (ret != EOK) { - DEBUG(SSSDBG_FATAL_FAILURE, ("Could not set up resolver context\n")); - return ret; - } - DEBUG(SSSDBG_TRACE_FUNC, ("SSH Initialization complete\n")); return EOK; |