Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2170 - Evolution crashes when trying to add an address book source (ldap)
Summary: Evolution crashes when trying to add an address book source (ldap)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gabriele Giorgetti
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-27 18:42 UTC by Erik Grinaker
Modified: 2007-04-24 11:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Bug 2170 (ad.txt,5 bytes, patch)
2007-04-24 11:50 UTC, Dodi Ezra
Details | Diff
Bug 2170 (bug-yut5.php,27 bytes, patch)
2007-04-24 11:52 UTC, Dodi Ezra
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Grinaker 2002-04-27 18:42:28 UTC
The Ximian Evolution mail-client has a rather severe bug on Gentoo Linux. When I
try adding addressbook-sources (in order to use LDAP addressbook), it simply
segfaults. To reproduce; Select a contact-register, select "tools" from the
menu, then "addressbook sources". When clicking add or edit the
addressbook-component crashes.

I do not believe this to be a 100% Evolution bug, as this works perfectly on
RedHat (and the SRPM contains the same tarball which the ebuild builds from).
This could have something to do with a missing Glade UI schema, according to
this post;

http://lists.gentoo.org/pipermail/gentoo-desktop/2002-April/000005.html


There has been created a bug at Ximian Bugzilla for this;

http://bugzilla.ximian.com/show_bug.cgi?id=23099

You might want to follow it and see what happens there. I have not done any
extensive research on the problem, and it may very well be an error by Ximian -
but I find it odd that this works on RedHat and not Gentoo.
Comment 1 Robert Davis 2002-05-30 09:58:03 UTC
Same problem here with 1.0.5.  The Ximian bug refrenced in the opening has been
closed.  Any update?
Comment 2 Erik Grinaker 2002-06-11 06:20:04 UTC
It is trivial to set up your LDAP addressbook manually by editing the file
addressbook-sources.xml in your evolution directory. The problem is knowing the
format. Here is how to set it up for LDAP, using binddn authentication (email
authentication may be a bit different) :

<?xml version="1.0"?>
<addressbooks>
    <contactserver>
        <name>My LDAP address book</name>
        <description>LDAP address database</description>
        <port>389</port>
        <host>ldap.domain.com</host>
        <rootdn>dc=domain,dc=com</rootdn>
        <scope>sub</scope>
        <authmethod>ldap/simple-binddn</authmethod>
        <binddn>cn=Me,dc=domain,dc=com</binddn>
    </contactserver>
</addressbooks>

You will (obviously) need to fill in your own settings.
Comment 3 Gregory Boyce 2002-06-12 21:14:38 UTC
I've attempted to add an ldap source by copying what a co-worker had set in his
file (he's using redhat with ximian gnome).  Same versions of evolution in both
cases.

The new ldap server shows up properly within evolution, but connection fails. 
The breakdown here seems to be more than just the ability to add (or modify)
address book entries.  The ability for them to function properly is gone as well.
Comment 4 Erik Grinaker 2002-06-13 07:31:47 UTC
Remember that you will need to have ldap in your USE variable when compiling
Evolution for it to support LDAP addressbooks.
Comment 5 Gregory Boyce 2002-06-14 07:45:54 UTC
I have ldap in my use settings.  When that didn't work, I emerged every package
with ldap in the name and unmerged and merged evolution.  Still no help.
Comment 6 Gregory Boyce 2002-07-02 17:23:36 UTC
Out of nowhere, ldap support now functions with the entries I added by hand.  I
still don't have the ability to add or edit entries, but the ones that are put
there by hand function properly.
Comment 7 Gabriele Giorgetti 2002-07-17 05:25:09 UTC
This is an upsatream bug that has been fiexed in the 1.0.8 release of evolution,
which will be in portage soon.

upstream bug: http://bugzilla.ximian.com/show_bug.cgi?id=17332
Comment 8 Dodi Ezra 2007-04-24 11:50:16 UTC
Created attachment 117126 [details, diff]
Bug 2170
Comment 9 Dodi Ezra 2007-04-24 11:52:22 UTC
Created attachment 117127 [details, diff]
Bug 2170