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