48197f2
From 08bac0946de29f3e5de90743ce6dfc7118d4ad20 Mon Sep 17 00:00:00 2001
48197f2
From: Sumit Bose <sbose@redhat.com>
48197f2
Date: Tue, 11 Feb 2020 17:42:03 +0100
48197f2
Subject: [PATCH 6/6] discovery fix
48197f2
48197f2
Do not continue processing on closed connection.
48197f2
48197f2
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1802258
48197f2
---
48197f2
 library/addisco.c | 1 +
48197f2
 1 file changed, 1 insertion(+)
48197f2
48197f2
diff --git a/library/addisco.c b/library/addisco.c
48197f2
index 6e73ead..f3b3546 100644
48197f2
--- a/library/addisco.c
48197f2
+++ b/library/addisco.c
48197f2
@@ -622,6 +622,7 @@ ldap_disco (const char *domain,
48197f2
 			                            "Couldn't perform discovery search");
48197f2
 			ldap_unbind_ext_s (ldap[i], NULL, NULL);
48197f2
 			ldap[i] = NULL;
48197f2
+			continue;
48197f2
 		}
48197f2
 
48197f2
 		/* From https://msdn.microsoft.com/en-us/library/ff718294.aspx first
48197f2
-- 
48197f2
2.25.1
48197f2