[evolution-data-server] Bug #721581 - Unable to write to ldap addressbook



commit 2d7a4c15018d2655d091f329cf09603d4b8e36f2
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 13 12:59:38 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 f720ab4..bec5d63 100644
--- a/addressbook/backends/ldap/e-book-backend-ldap.c
+++ b/addressbook/backends/ldap/e-book-backend-ldap.c
@@ -595,6 +595,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) {
@@ -682,6 +683,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]