GNOME Bugzilla – Bug 256520
Add list in Ldap goes wrong
Last modified: 2013-09-10 14:03:33 UTC
Description of Problem: When adding a contact list into ldap you got a failure. Steps to reproduce the problem: 1. Start evolution 2. Go to Contacts 3. Make a ldap address book 4. Try to add a Contact list Actual Results: slapd[25736]: Entry (cn=Familie,ou=matthijs,ou=addressbook,dc=cacholong,dc=nl): object class 'inetOrgPerson' requires attribute 'sn' Expected Results: Adding a Contact list How often does this happen? Everytime Additional Information: I'm using openldap 2.1.* with schemacheck on. When you set schemacheck to off then your ldap tree isn't ok anymore.
chris, i presume the objectclass is wrong?
we don't support contact lists in ldap. never have.
hm, so in order to "fix" this in a way that we'll give better feedback, we need to do a few things: 1) add a new return value in the IDL for ContactListNotSupported. Have all backends that don't support contact lists notify with this error code in add/modify_contact if the passed in contact(s) are lists. 2) have e_book_add_contact check the static capabilities for the backend to see if lists are supported, if a list vcard is passed in. same for e_book_commit_contact. 3) make the contact list editor pop up a dialog and desensitize the dialog (or at least the save button) if the static capabilities of the backend don't include "contact_lists".
k, I've added enough for us to punt the remainder to 2.1. At the moment, the backends advertise their ability to store contact lists by putting "contact-lists" in their static capabilities. The contact editor disables the UI unless this capability is present.
*** bug 257130 has been marked as a duplicate of this bug. ***
marking as duplicate as discussed with gerardo on irc. *** This bug has been marked as a duplicate of 214977 ***