Bugs item #1107957, was opened at 2005-01-23 21:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507003&aid=1107957&group_id=64305

Category: Main syncengine
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael (miko22)
Assigned to: Nobody/Anonymous (nobody)
Summary: [CRASH]  LDAP module

Initial Comment:
I'm filing this in the "Main syncengine" category,
there is no for LDAP. There should, I guess.

Trying to sync to a LDAP server without evolution
support I get a crash. Using snapshot of Jan, 19. Below
is the patch which made it possible for me to proceed.
The reason for the crash seems to be rather obvious.

*** 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;
+         }
+*** 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]) {


        while (ldapvals[i]) {


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507003&aid=1107957&group_id=64305


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Multisync-devel mailing list
Multisync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/multisync-devel

Reply via email to