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