Some experiences when using the snapshot build yesterday and a plain
openldap server  as of Fedora core 3 (without evolution support)

- The LDAP plugin crashes when testing for evolution features. I
  enclose the quick and dirty fix I did to handle the crash.
  (which occured if/when ldap_getValues() returns 0 at  line 178).

- I don't use TLS/SSL. If the plugin is configured to use TLS "If
  available" it doesn't work, refuses to make even an anonymous bind.
  If configured to "Never" use TLS it works, though. I would say it's a
  bug.

Works like a charm otherwise. Nice job, but the installation could have
been easier :-)

--michael

--------------------------------------------------------------------------
Michael Kolmodin                        Rådstugatan 15 B
Phone:  +46 920 230383                  S-972 38 Luleaa.
Mobile  +46  70 551 6507                Sweden
*** ldap.c      2003-12-03 15:31:43.000000000 +0100
--- ldap.c.NEW  2005-01-20 14:45:59.883199261 +0100
***************
*** 171,176 ****
--- 171,181 ----
        }
  
        ldapvals = ldap_get_values(conn->ld, res2, "objectClasses");
+         if( !ldapvals ){
+               ldap_debug(conn, 0, "Cannot decode objectclass entries");
+               return 1;
+         }
+ 
  
        while (ldapvals[i]) {
                if (strstr(ldapvals[i], "evolutionPerson")) {

Reply via email to