summaryrefslogtreecommitdiff
path: root/mail/dbmail/files/patch-0020-Reduce-failed-LDAP-connection-for-search-to-error
blob: 16e0daed961990c6d9f03c450c3bcc59f3dac435 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 7daaac91d559f15a476c39f52228cc643f4608ba Mon Sep 17 00:00:00 2001
From: Alan Hicks <ahicks@p-o.co.uk>
Date: Tue, 18 Oct 2016 13:38:04 +0100
Subject: [PATCH 20/33] Reduce failed LDAP connection for search to error

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

diff --git src/modules/authldap.c src/modules/authldap.c
index 065ee31..fc9db8e 100644
--- src/modules/authldap.c
+++ src/modules/authldap.c
@@ -299,7 +299,7 @@ static LDAPMessage * authldap_search(const gchar *query)
 		sleep(1); // Search failed. Wait before trying again.
 	}
 
-	TRACE(TRACE_EMERG,"unrecoverable error while talking to ldap server");
+	TRACE(TRACE_ERR,"unrecoverable error while talking to ldap server");
 	return NULL;
 }
 
-- 
2.10.1 (Apple Git-78)