From d5fcc4c497eb17404812be7600fb1181a75cbfd3 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Fri, 26 Apr 2013 10:07:22 +0200 Subject: [PATCH 6/6] SSH: Do not skip domains with use_fully_qualified_names in host key requests --- src/responder/ssh/sshsrv_cmd.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/responder/ssh/sshsrv_cmd.c b/src/responder/ssh/sshsrv_cmd.c index d2f889fa6ac1e414dfa9bbd943b8ef6af125ae74..bb765c62890aa326cfad87f511622167df61f0a1 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)); -- 1.8.2.1