Summary: | kmail cannot connect to LDAP over SSL | ||
---|---|---|---|
Product: | [Applications] kaddressbook | Reporter: | Andrea Bocci <fwyzard> |
Component: | ldap search | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | afalls, asen.christov, gdr-kde, jose.arthur, kdenis, tokoe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
log of kmail activity
log of kaddressbook "query server" activity working LDAP connection not working LDAP connection |
Description
Andrea Bocci
2010-01-18 04:23:44 UTC
Created attachment 39997 [details]
log of kmail activity
Created attachment 39998 [details]
log of kaddressbook "query server" activity
Created attachment 39999 [details]
working LDAP connection
this is a screenshot of the Wireshark capture of the working LDAP connection (from the ldapsearch tool)
Created attachment 40000 [details]
not working LDAP connection
this is a screenshot of the Wireshark capture of the not working LDAP connection from kmail
same here. Hi. I filled this one some time ago: https://bugzilla.redhat.com/show_bug.cgi?id=663210 Its the same bug. I've fixed my problem. I did a: echo "TLS_REQCERT never" > ~/.ldaprc and now it's working. I'm having this issue too. created ~/.ldaprc and added TLS_REQCERT never but it did not help. It appears that I verified my LDAP settings were correct and was able to successful connect with ssl turned off. When ssl is enabled, slapd returns this error upon kmail attemting a connection Jun 10 23:54:25 ldap slapd[1062]: <= bdb_equality_candidates: (uid) not indexed Jun 10 23:54:25 ldap slapd[1062]: conn=1014 op=8 SEARCH RESULT tag=101 err=0 nentries=1 text= Jun 10 23:54:41 ldap slapd[1062]: conn=1070 fd=16 ACCEPT from IP=10.1.1.34:44598 (IP=0.0.0.0:636) Jun 10 23:54:41 ldap slapd[1062]: conn=1070 fd=16 closed (TLS negotiation failure) which leads me to believe that for some reason kmail isn't setting up a secure ssl connection to it. I also tested to see if the ssl was working on the server by using 'openssl s_client ...' and it worked well. This is with KMail 1.13.6 Thanks I did a packet capture and saw that the contents of the packets from kmail were not encrypted. I'd post the capture but it contains my login info (including password). This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kaddressbook (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months. I dont use kmail anymore, but I remember that I could solve this problem with a dot file. I think that it was .ldaprc with "TLS_REQCERT never" inside it. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |