Dear list,

I'm a novice in Roundcube 'hacking', but I plan to fix a few items in the
future, since I really like RC!

To enable my local LDAP addressbook, I had to change the following line in
'rcube_ldap.inc' (svn version):


Index: rcube_ldap.inc
===================================================================
--- rcube_ldap.inc      (revision 774)
+++ rcube_ldap.inc      (working copy)
@@ -90,7 +90,7 @@
     {
       if ($lc = @ldap_connect($host, $this->prop['port']))
       {
-        ldap_set_option($lc, LDAP_OPT_PROTOCOL_VERSION,
$this->prop['port']);
+        ldap_set_option($lc, LDAP_OPT_PROTOCOL_VERSION, 3);
         $this->prop['host'] = $host;
         $this->conn = $lc;
         break;


Maybe $this->prop['ldap_version'] can be added to the preferences?



-H-

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to