Patch for the autofs provider failing when use_fully_qualified_names is enabled 
for a domain.

/aron
From 7d60e14b01549fd489e1349f051cfaf457831a18 Mon Sep 17 00:00:00 2001
From: Aron Parsons <[email protected]>
Date: Wed, 29 Apr 2015 02:44:18 +0000
Subject: [PATCH] autofs: fix 'Cannot allocate memory' with FQDNs

https://fedorahosted.org/sssd/ticket/2643
---
 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 797e638d53a8adbac658541496bd0ab85d271533..27b6617c2dd2403aa50cf2c9d96886b3bfee7ea7 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 */
-- 
1.7.1

_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to