summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-04-26 10:07:22 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-07 14:23:51 +0200
commitd5fcc4c497eb17404812be7600fb1181a75cbfd3 (patch)
treef4f5a27a696581f5ccca29313d652f90dbca90ac
parent28e55560008f21a532b103b3f612c6fca2a54d76 (diff)
downloadsssd-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.c6
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));