From kde-pim Mon Jul 04 21:06:32 2005 From: Szombathelyi "György" Date: Mon, 04 Jul 2005 21:06:32 +0000 To: kde-pim Subject: Re: [Kde-pim] ldap and addressbook Message-Id: <200507042306.33032.gyurco () freemail ! hu> X-MARC-Message: https://marc.info/?l=kde-pim&m=112051092707409 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_YTayCipEG7wEl/F" --Boundary-00=_YTayCipEG7wEl/F Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2005. j=FAlius 4. 19.40 d=E1tummal ezt =EDrta: > Hi, > > thanks for the quick answer. It took me a while because I wanted to check > on severall computers. > > On Friday 01 July 2005 10:49, Szombathelyi Gy=F6rgy wrote: > > It's controlled in the /etc/openldap/ldap.conf file. See man ldap.conf > > for more detailed info. A quick and dirty hack is to put the > > 'TLS_REQCERT allow' directive into that file. > > did that with mie ~/.ldaprc and yes it worked for the command line > (ldapsearch). > > Unfortunately kaddressbook (kontact) still insists on > "Could not connect to ldaps://ldapserver:636 > > > > ldapsearch -v -H ldaps://ldap -x 'objectclass=3D\*' > > > tells me > > > ldap_bind: Can't contact LDAP server (-1) > > > =A0 =A0 =A0 =A0 additional info: error:14090086:SSL > > > routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed > > Can I tell kontact/kaddressbook to tell me where it's problem is > (logfiles). I tried strace but that didn't help > I hacked a patch for kio_ldap, if you want to try it, apply it to=20 kdebase/kioslave/ldap. It's ugly, but very informative. May help to find ou= t=20 the real problem. If someone knows how to make it nicer, please tell me. It= =20 would be nice if there would be a place to append additional info to the=20 standard slavebase error messages. Bye, Gy=F6rgy ____________________________________________________________________ Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu --Boundary-00=_YTayCipEG7wEl/F Content-Type: text/x-diff;charset="iso-8859-1";name="ldaperr.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment;filename="ldaperr.diff" SW5kZXg6IGtpb19sZGFwLmNwcAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBraW9fbGRhcC5jcHAJKHJldmlzaW9u IDQzMTI3NCkKKysrIGtpb19sZGFwLmNwcAkod29ya2luZyBjb3B5KQpAQCAtODcsMTAgKzg3LDIz IEBACiAgIH0KIH0KIAotdm9pZCBMREFQUHJvdG9jb2w6OkxEQVBFcnIoIGludCBlcnIsIGNvbnN0 IFFTdHJpbmcgJm1zZyApCit2b2lkIExEQVBQcm90b2NvbDo6TERBUEVyciggaW50IGVyciwgY29u c3QgUVN0cmluZyAmZXJyc3RyICkKIHsKLSAga2REZWJ1Zyg3MTI1KSA8PCAiZXJyb3I6ICIgPDwg ZXJyIDw8ICIgIiA8PCBsZGFwX2VycjJzdHJpbmcoZXJyKSA8PCBlbmRsOwotICAKKyAga2REZWJ1 Zyg3MTI1KSA8PCAiZXJyb3IgY29kZTogIiA8PCBlcnIgPDwgIiBtc2c6ICIgPDwgbGRhcF9lcnIy c3RyaW5nKGVycikgPDwgZW5kbDsKKworICBjaGFyICplcnJtc2cgPSAwOworICBpZiAoIG1MREFQ ICkgeworICAgIGxkYXBfZ2V0X29wdGlvbiggbUxEQVAsIExEQVBfT1BUX0VSUk9SX1NUUklORywg JmVycm1zZyk7CisgICAga2REZWJ1Zyg3MTI1KSA8PCAiQWRkaXRpb25hbCBlcnJvciBtZXNzYWdl OiAiIDw8IGVycm1zZyA8PCBlbmRsOworICB9CisgIFFTdHJpbmcgbXNnOworICBtc2cgPSBlcnJz dHI7CisgIGlmICggZXJybXNnICkgeworICAgIGluZm9NZXNzYWdlKCBlcnJtc2cgKTsKKyAgICBt c2cgKz0gaTE4bigiXG5BZGRpdGlvbmFsIGluZm86Iik7CisgICAgbXNnICs9IFFTdHJpbmc6OmZy b21VdGY4KCBlcnJtc2cgKTsKKyAgICBmcmVlKCBlcnJtc2cgKTsKKyAgfQogICAvKiBGSVhNRTog Tm8gbmVlZCB0byBjbG9zZSBvbiBhbGwgZXJyb3JzICovCiAgIGNsb3NlQ29ubmVjdGlvbigpOwog ICAK --Boundary-00=_YTayCipEG7wEl/F Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ kde-pim mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim kde-pim home page at http://pim.kde.org/ --Boundary-00=_YTayCipEG7wEl/F--