Package: gnarwl / 3.6.dfsg-11

fln/0009-Set-LDAP-dereferencing-default-to-never.patch Patch series | download
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 6e91415b7ba334f602acf221ca72b14e3af9ad44 Mon Sep 17 00:00:00 2001
From: Andrew McCarthy <me@andrewmccarthy.ie>
Date: Thu, 29 Sep 2016 12:15:51 +0100
Subject: [PATCH] Set LDAP dereferencing default to never

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

diff --git a/src/config.c b/src/config.c
index 70f0b40..fea3aaf 100644
--- a/src/config.c
+++ b/src/config.c
@@ -234,7 +234,7 @@ void setDefaults(void) {
   cpyStr(&cfg.recv_header[0],"to");
   cpyStr(&cfg.recv_header[1],"cc");
   if (cfg.macro_attr==NULL || cfg.macro_name==NULL) oom();
-  cfg.deref=LDAP_DEREF_FINDING;
+  cfg.deref=LDAP_DEREF_NEVER;
 }
 
 void readConf(char *cfile) {
-- 
2.9.3