Blame SOURCES/evolution-data-server-3.8.5-ldap-not-writeable.patch

6bbc61
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
6bbc61
--- 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
6bbc61
+++ evolution-data-server-3.8.5/addressbook/backends/ldap/e-book-backend-ldap.c	2014-01-13 14:16:00.083881277 +0100
6bbc61
@@ -597,6 +597,7 @@ check_schema_support (EBookBackendLDAP *
6bbc61
 	const gchar *attrs[2];
6bbc61
 	LDAPMessage *resp;
6bbc61
 	struct timeval timeout;
6bbc61
+	gchar *lst;
6bbc61
 
6bbc61
 	g_rec_mutex_lock (&eds_ldap_handler_lock);
6bbc61
 	if (!bl->priv->ldap) {
6bbc61
@@ -684,6 +685,10 @@ check_schema_support (EBookBackendLDAP *
6bbc61
 	else {
6bbc61
 		g_rec_mutex_unlock (&eds_ldap_handler_lock);
6bbc61
 	}
6bbc61
+
6bbc61
+	lst = e_data_book_string_slist_to_comma_string (bl->priv->supported_fields);
6bbc61
+	e_book_backend_notify_property_changed (E_BOOK_BACKEND (bl), BOOK_BACKEND_PROPERTY_SUPPORTED_FIELDS, lst);
6bbc61
+	g_free (lst);
6bbc61
 }
6bbc61
 
6bbc61
 #ifndef SUNLDAP