There is another bug in the gui.c file, which also causes a core dump. The string in the widget is parsed for a number, but the argument passed to sscanf isn't a pointer.
combined patch below.
marty
*** plugins/ldap_plugin/src/gui.c.orig Mon Aug 11 18:54:25 2003 --- plugins/ldap_plugin/src/gui.c Mon Aug 11 21:19:20 2003 *************** *** 108,115 ****
ldapconn->servername = (char*)gtk_editable_get_chars(GTK_EDITABLE(lookup_widget(ldapoptions, "serverentry")), 0, -1);
! str = (char*)gtk_entry_get_text(GTK_ENTRY(lookup_widget(ldapoptions, "binddnentry")));
! sscanf(str, "%d", ldapconn->serverport);
if(ldapconn->binddn) g_free(ldapconn->binddn); --- 108,115 ----
ldapconn->servername = (char*)gtk_editable_get_chars(GTK_EDITABLE(lookup_widget(ldapoptions, "serverentry")), 0, -1);
! str = (char*)gtk_entry_get_text(GTK_ENTRY(lookup_widget(ldapoptions, "portentry")));
! sscanf(str, "%d", &ldapconn->serverport);
if(ldapconn->binddn) g_free(ldapconn->binddn);
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Multisync-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/multisync-devel