Blob Blame History Raw
diff -up evolution-data-server-3.8.5/addressbook/backends/ldap/e-book-backend-ldap.c.ldap-not-writeable evolution-data-server-3.8.5/addressbook/backends/ldap/e-book-backend-ldap.c
--- evolution-data-server-3.8.5/addressbook/backends/ldap/e-book-backend-ldap.c.ldap-not-writeable	2013-08-11 00:00:52.000000000 +0200
+++ evolution-data-server-3.8.5/addressbook/backends/ldap/e-book-backend-ldap.c	2014-01-13 14:16:00.083881277 +0100
@@ -597,6 +597,7 @@ check_schema_support (EBookBackendLDAP *
 	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 *
 	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