From f3c44ca5bb092803533ea7b9004f3ba08b752ca1 Mon Sep 17 00:00:00 2001
From: Graham Cole <chckens@sucs.org>
Date: Sat, 27 Feb 2010 11:56:20 +0000
Subject: [PATCH] another LDAP fix

---
 lib/members.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/members.php b/lib/members.php
index 1ab196c..4cb4b18 100644
--- a/lib/members.php
+++ b/lib/members.php
@@ -10,6 +10,7 @@ function __construct()
 {
 	// Connect and bind to ldap server
 	$this->conn = ldap_connect(_LDAP_SERVER);
+	ldap_set_option($this->conn, LDAP_OPT_PROTOCOL_VERSION, 3);
 	$bind = ldap_bind($this->conn);
 }
 
-- 
GitLab