diff options
author | Aron Parsons <parsonsa@bit-sys.com> | 2015-04-29 02:44:18 +0000 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-04-30 08:24:57 +0200 |
commit | 4df706219e64527209f12ad0c7814ee1be979c07 (patch) | |
tree | c4090ebb87e46ce95c5a4ef8847f8e5bf30b433e /src/responder | |
parent | c520f40d1a2d77cf1d413451b5682297733521ed (diff) | |
download | sssd-4df706219e64527209f12ad0c7814ee1be979c07.tar.gz sssd-4df706219e64527209f12ad0c7814ee1be979c07.tar.xz sssd-4df706219e64527209f12ad0c7814ee1be979c07.zip |
autofs: fix 'Cannot allocate memory' with FQDNs
https://fedorahosted.org/sssd/ticket/2643
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/autofs/autofssrv_cmd.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/responder/autofs/autofssrv_cmd.c b/src/responder/autofs/autofssrv_cmd.c index 797e638d5..27b6617c2 100644 --- a/src/responder/autofs/autofssrv_cmd.c +++ b/src/responder/autofs/autofssrv_cmd.c @@ -628,15 +628,6 @@ lookup_automntmap_step(struct setautomntent_lookup_ctx *lookup_ctx) /* Check each domain for this map name */ while (dom) { - /* if it is a domainless search, skip domains that require fully - * qualified names instead */ - while (dom && dctx->cmd_ctx->check_next && dom->fqnames) { - dom = get_next_domain(dom, false); - } - - /* No domains left to search */ - if (!dom) break; - if (dom != dctx->domain) { /* make sure we reset the check_provider flag when we check * a new domain */ |