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