[Bug 218353] LDAP directory contacts cannot be modified

rdratlos at yahoo.co.uk rdratlos at yahoo.co.uk
Sat Dec 12 03:28:13 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=218353





--- Comment #3 from  <rdratlos yahoo co uk>  2009-12-12 04:28:12 ---
There seems to be a simple fix for this problem. The kabc plugin ldapkio within
kdepimlibs has a private addEntry method that can be changed to solve this bug.
It resides in the file resourceldapkio.cpp.

The addEntry method should check itself (again), if the calling function has
handed over a value for a particular attribute or not. If not, the attribute
name should not be added (and afterwards sent to the LDAP directory). This
applies for modification (i. e. replace) operations and add operations.

I've tested this solution under Ubuntu karmic and it works fine. Attribute
values can be added, modified and deleted again. Attached there is the patch
I've applied. 

I have not identified further side-effects of this patch. But I recommed some
further testing.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list