On Thu, 2005-01-20 at 15:00, Michael Kolmodin wrote:
> 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).
>
Thanks! i will commit your fix
> - 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")) {
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Multisync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/multisync-devel