diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-04-26 10:07:22 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-07 14:23:51 +0200 |
commit | d5fcc4c497eb17404812be7600fb1181a75cbfd3 (patch) | |
tree | f4f5a27a696581f5ccca29313d652f90dbca90ac | |
parent | 28e55560008f21a532b103b3f612c6fca2a54d76 (diff) | |
download | sssd-d5fcc4c497eb17404812be7600fb1181a75cbfd3.tar.gz sssd-d5fcc4c497eb17404812be7600fb1181a75cbfd3.tar.xz sssd-d5fcc4c497eb17404812be7600fb1181a75cbfd3.zip |
SSH: Do not skip domains with use_fully_qualified_names in host key requests
-rw-r--r-- | src/responder/ssh/sshsrv_cmd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/responder/ssh/sshsrv_cmd.c b/src/responder/ssh/sshsrv_cmd.c index d2f889fa6..bb765c628 100644 --- a/src/responder/ssh/sshsrv_cmd.c +++ b/src/responder/ssh/sshsrv_cmd.c @@ -300,12 +300,6 @@ ssh_host_pubkeys_search(struct ssh_cmd_ctx *cmd_ctx) struct tevent_req *req; struct dp_callback_ctx *cb_ctx; - /* if it is a domainless search, skip domains that require fully - * qualified names instead */ - while (cmd_ctx->domain && cmd_ctx->check_next && cmd_ctx->domain->fqnames) { - cmd_ctx->domain = get_next_domain(cmd_ctx->domain, false); - } - if (!cmd_ctx->domain) { DEBUG(SSSDBG_OP_FAILURE, ("No matching domain found for [%s], fail!\n", cmd_ctx->name)); |