[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#328062: kdebase-kio-plugins: kio_ldap stalls/crashes with ldaps://



Package: kdebase-kio-plugins
Version: 4:3.4.2-2
Severity: normal

Hi!

I configured kaddressbook in kontact to look up addresses in an LDAP
server. I use SSL and SASL/DIGEST-MD5. If I start the Contacts view
rights after starting contact, it takes about one minute to load the
LDAP contacts. In this time, kio_imap eats 100% CPU time. And every
LDAP action (store a new contact, searching, etc.) takes the same amount
of time.

If I start the kmail view and try to read mails, I suspect it tries to
look up a contact for every mail address it encounters. Until the
address is found, no mail body is displayed, and for every mail (maybe 
even for every mail address) a kio_ldap process eating
(100%/number-of-kio_ldap-process) CPU. If there are too many (7 or 8
processes) kontact crashes.

On the server runs debian sarge:

Versions of packages slapd depends on:
ii  coreutils [fileutils]       5.2.1-2      The GNU core utilities
ii  debconf                     1.4.30.13    Debian configuration
ii  fileutils                   5.2.1-2      The GNU file management
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database
ii  libiodbc2                   3.52.2-3     iODBC Driver Manager
ii  libldap-2.2-7               2.2.23-8     OpenLDAP libraries
ii  libltdl3                    1.5.6-6      A system independent dlopen
ii  libperl5.8                  5.8.4-8      Shared Perl library
ii  libsasl2                    2.1.19-1.5   Authentication abstraction
ii  libslp1                     1.0.11a-2    OpenSLP libraries
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  libwrap0                    7.6.dbs-8    Wietse Venema's TCP
ii  perl [libmime-base64-perl]  5.8.4-8      Larry Wall's Practical
ii  psmisc                      21.5-1       Utilities that use the proc

Thanks for any help.

BTW: The Ressource setup dialog for an LDAP address book is (at least in
german) not very understandable, it took me a whole afternoon to find
out what to fill in which of the fields:

"Benutzer" ("User",it wants not the DN like many other LDAP clients, 
but really only my username "martin") 
"Bind-DN" (It started to work after I accidentally left this one empty
instead of using my user DN)
"Bereich" (maybe "Realm" in english, AFAIK the slapd should take care of 
translating DN to SASL realsm. It worked after leaving it empty,too)

Ciao

Martin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8)

Versions of packages kdebase-kio-plugins depends on:
ii  dbus-1                    0.23.4-6       simple interprocess messaging 
syst
ii  dbus-qt-1c2               0.23.4-6       simple interprocess messaging 
syst
ii  kdelibs4c2                4:3.4.2-3      core libraries for all KDE 
applica
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D 
graphi
ii  libaudio2                 1.7-3          The Network Audio System (NAS). 
(s
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries 
an
ii  libfontconfig1            2.3.2-1        generic font configuration 
library
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared 
lib
ii  libgcc1                   1:4.0.1-6      GCC support library
ii  libhal-storage0           0.4.8-7        Hardware Abstraction Layer - 
share
ii  libhal0                   0.4.8-7        Hardware Abstraction Layer - 
share
ii  libice6                   6.8.2.dfsg.1-6 Inter-Client Exchange library
ii  libidn11                  0.5.18-1       GNU libidn library, 
implementation
ii  libldap2                  2.1.30-11      OpenLDAP libraries
ii  libopenexr2c2             1.2.2-4        runtime files for the OpenEXR 
imag
ii  libpng12-0                1.2.8rel-1     PNG library - runtime
ii  libpopt0                  1.7-5          lib for parsing cmdline 
parameters
ii  libqt3-mt                 3:3.3.4-8      Qt GUI Library (Threaded runtime 
v
ii  libsasl2                  2.1.19-1.6     Authentication abstraction 
library
ii  libsasl2-modules          2.1.19-1.6     Pluggable Authentication Modules 
f
ii  libsm6                    6.8.2.dfsg.1-6 X Window System Session 
Management
ii  libsmbclient              3.0.14a-6      shared library that allows 
applica
ii  libstdc++6                4.0.1-6        The GNU Standard C++ Library v3
ii  libx11-6                  6.8.2.dfsg.1-6 X Window System protocol client 
li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.8.2.dfsg.1-6 X Window System miscellaneous 
exte
ii  libxft2                   2.1.7-1        FreeType-based font drawing 
librar
ii  libxinerama1              6.8.2.dfsg.1-6 X Window System multi-head 
display
ii  libxrandr2                6.8.2.dfsg.1-6 X Window System Resize, Rotate 
and
ii  libxrender1               1:0.9.0-2      X Rendering Extension client 
libra
ii  libxt6                    6.8.2.dfsg.1-6 X Toolkit Intrinsics
ii  xlibs                     6.8.2.dfsg.1-6 X Window System client libraries 
m
ii  zlib1g                    1:1.2.3-4      compression library - runtime

Versions of packages kdebase-kio-plugins recommends:
ii  hal                           0.4.8-7    Hardware Abstraction Layer
ii  kamera                        4:3.4.2-1  digital camera io_slave for 
Konque
ii  kdemultimedia-kio-plugins     4:3.4.2-2  enables the browsing of audio CDs 
ii  kdesktop                      4:3.4.2-2  miscellaneous binaries and files 
f
ii  pmount                        0.8-2      mount removable devices as normal 

-- no debconf information



Reply to: