[evolution-data-server/gnome-3-10] Bug #721581 - Unable to write to ldap addressbook



commit 5a43b8769b85b787b88c708c800c319ce89244bd
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 13 13:00:30 2014 +0100

    Bug #721581 - Unable to write to ldap addressbook

 addressbook/backends/ldap/e-book-backend-ldap.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/backends/ldap/e-book-backend-ldap.c b/addressbook/backends/ldap/e-book-backend-ldap.c
index a0bc29c..be3e499 100644
--- a/addressbook/backends/ldap/e-book-backend-ldap.c
+++ b/addressbook/backends/ldap/e-book-backend-ldap.c
@@ -597,6 +597,7 @@ check_schema_support (EBookBackendLDAP *bl)
        const gchar *attrs[2];
        LDAPMessage *resp;
        struct timeval timeout;
+       gchar *lst;
 
        g_rec_mutex_lock (&eds_ldap_handler_lock);
        if (!bl->priv->ldap) {
@@ -684,6 +685,10 @@ check_schema_support (EBookBackendLDAP *bl)
        else {
                g_rec_mutex_unlock (&eds_ldap_handler_lock);
        }
+
+       lst = e_data_book_string_slist_to_comma_string (bl->priv->supported_fields);
+       e_book_backend_notify_property_changed (E_BOOK_BACKEND (bl), BOOK_BACKEND_PROPERTY_SUPPORTED_FIELDS, 
lst);
+       g_free (lst);
 }
 
 #ifndef SUNLDAP


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