From 5ed508954309e9a5ad6610be47fd02be60f1e726 Mon Sep 17 00:00:00 2001
From: Alan Hicks <ahicks@p-o.co.uk>
Date: Thu, 6 Oct 2016 15:04:51 +0100
Subject: [PATCH 12/33] Bump search timeout to 60s

---
 src/modules/authldap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git src/modules/authldap.c src/modules/authldap.c
index 475c985..2a39e0e 100644
--- src/modules/authldap.c
+++ src/modules/authldap.c
@@ -266,7 +266,7 @@ static LDAPMessage * authldap_search(const gchar *query)
 	char **_ldap_attrs = NULL;
 	int err = -1; // Start wanting success
 	int c = 0;
-	int c_tries = 10;
+	int c_tries = 60;
 	LDAP *_ldap_conn;
 
 	g_return_val_if_fail(query!=NULL, NULL);
-- 
2.10.1 (Apple Git-78)

