After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 271817 - Evolution 2.0.2 unable to communicate with OpenLDAP
Evolution 2.0.2 unable to communicate with OpenLDAP
Status: RESOLVED DUPLICATE of bug 273290
Product: evolution
Classification: Applications
Component: Contacts
2.0.x (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-01-26 21:56 UTC by Sean
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sean 2005-01-26 21:56:03 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:

Evolution seems unable to connect to an openldap server, either on the same
host or on a different host on the same network.  SSL and TLS have both
been turned off, and I am trying to connect anonymously.

Steps to reproduce the problem:
1.  Install Openldap 2.2.13-2, disable TLS and SSL authentication in the
slapd.conf file
2.  Attempt to add the addressbook in Evolution, configure either with
'anonymously' or with 'distinguished name'.  Does not seem to make any
difference whether connect securely is set at Always, Never, or Whenever
Possible.  I get the same error every time.
3.  Monitor output of /usr/sbin/slapd -d 256 on the server end.

Actual Results:

This comes from the client side in Evolution:

************
Error loading addressbook.

We were unable to open this addressbook.  This either means you have
entered an incorrect URI, or the LDAP server is unreachable.
************

This is what the server says:

*********************
[root@armadillo ~]# /usr/sbin/slapd -d 256
@(#) $OpenLDAP: slapd 2.2.13 (Aug 19 2004 21:22:15) $
       
root@porky.build.redhat.com:/usr/src/build/440386-i386/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
bdb_db_init: Initializing BDB database
slapd starting
conn=0 fd=10 ACCEPT from IP=192.168.1.31:45269 (IP=0.0.0.0:389)
TLS: can't accept.
TLS: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
s3_srvr.c:882
conn=0 fd=10 closed
***********************

Expected Results:

Evolution should connect to the LDAP server and allow me to search through
the records.  I have tested the same setup with kaddressbook and mozilla
address book, and MS Outlook and none of them give me any problems.  I can
connect as the administrator or anonymously, works either way on these
other clients.  Only Evolution seems not to be able to talk to OpenLDAP.

How often does this happen? 

Every time I try to connect.

Additional Information:

Hope you can fix it soon, we are trying to make our shop 100% linux based.
Comment 1 Sean 2005-01-26 22:07:48 UTC
Here's some more information, hopefully this is helpful.  If I kill
the process for evolution-data-server and restart it from the command
line I seem to be able to connect.  However when I search for any of
the records it doesn't return any results.  Here are the results of
evolution-data-server:

(evolution-data-server:4851): libebookbackend-WARNING **:
ldap_search_handler: 20 (No such object), additional info:
ldap_search_dtor (0x97c6990)
stop_book_view (0x97c6990)

(evolution-data-server:4851): libedata-book-WARNING **:
impl_GNOME_Evolution_Addressbook_Book_getBookView ((beginswith
"full_name"  "John"))

e_data_book_respond_get_book_view
start_book_view (0x97c98e8)
searching server using filter: (|(cn=John*)(sn=John*)) (expecting max
100 results)
adding search_op (0x97c98e8, 10)
looked up msgid 10, got op 0x97c6990
ldap_search_handler (0x97c98e8)
in server_log_handler

(evolution-data-server:4851): libebookbackend-WARNING **:
ldap_search_handler: 20 (No such object), additional info:
ldap_search_dtor (0x97c98e8)
stop_book_view (0x97c98e8)

(evolution-data-server:4851): libedata-book-WARNING **:
impl_GNOME_Evolution_Addressbook_Book_getBookView ((contains
"x-evolution-any-field"  "John"))

e_data_book_respond_get_book_view
start_book_view (0x97cc110)
searching server using filter:
(|(cn=*John*)(sn=*John*)(mail=*John*)(primaryPhone=*John*)(telephoneNumber=*John*)(homePhone=*John*)(mobile=*John*)(carPhone=*John*)(facsimileTelephoneNumber=*John*)(homeFacsimileTelephoneNumber=*John*)(otherPhone=*John*)(otherFacsimileTelephoneNumber=*John*)(internationaliSDNNumber=*John*)(pager=*John*)(radio=*John*)(telex=*John*)(assistantPhone=*John*)(companyPhone=*John*)(callbackPhone=*John*)(tty=*John*)(o=*John*)(ou=*John*)(roomNumber=*John*)(title=*John*)(businessRole=*John*)(managerName=*John*)(assistantName=*John*)(postalAddress=*John*)(homePostalAddress=*John*)(otherPostalAddress=*John*)(jpegPhoto=*John*)(userCertificate=*John*)(labeledURI=*John*)(displayName=*John*)(spouseName=*John*)(note=*John*)(anniversary=*John*)(birthDate=*John*)(mailer=*John*)(fileAs=*John*)(category=*John*)(calCalURI=*John*)(calFBURL=*John*)(icsCalendar=*John*))
(expecting max 100 results)
adding search_op (0x97cc110, 12)
looked up msgid 12, got op 0x97c79f0
ldap_search_handler (0x97cc110)
in server_log_handler

(evolution-data-server:4851): libebookbackend-WARNING **:
ldap_search_handler: 20 (No such object), additional info:
ldap_search_dtor (0x97cc110)
Comment 2 Sean 2005-01-26 22:58:41 UTC
Sorry to keep commenting on my own bug, but I've been working with
this all afternoon and here's what I've come up with:

If I close evolution and kill the evolution-data-server-1.0 process,
then restart evolution I am able to log onto the LDAP server either as
anonymous or as root (to add and change entries).

Seems to have fixed the problem for the time being.  I will post any
more information that I come up with here.
Comment 3 Sivaiah 2005-02-19 13:26:59 UTC
whenever you change ldap settings you need evolution --force-shutdown
for that settings to take effect. This is known 
Comment 4 Nagappan Alagappan 2005-04-05 06:09:42 UTC
Setting target milestone 2.3
Comment 5 Sivaiah 2005-04-25 05:36:26 UTC
this problem is ame as bug 273290

*** This bug has been marked as a duplicate of 273290 ***