diff --git a/lib/members.php b/lib/members.php index 1ab196cfac45841e9b2c203f87c1f5ac92465953..4cb4b1896e29d72e86c6ed62031252244132e181 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); }