summaryrefslogtreecommitdiff
path: root/src
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 /src
parent28e55560008f21a532b103b3f612c6fca2a54d76 (diff)
downloadsssd-d5fcc4c497eb17404812be7600fb1181a75cbfd3.tar.gz
sssd-d5fcc4c497eb17404812be7600fb1181a75cbfd3.tar.bz2
sssd-d5fcc4c497eb17404812be7600fb1181a75cbfd3.zip
SSH: Do not skip domains with use_fully_qualified_names in host key requests
Diffstat (limited to 'src')
-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 d2f889fa..bb765c62 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));