projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe9022
)
Bug #721581 - Unable to write to ldap addressbook
author
Milan Crha
<mcrha@redhat.com>
Mon, 13 Jan 2014 11:59:38 +0000
(12:59 +0100)
committer
Milan Crha
<mcrha@redhat.com>
Mon, 13 Jan 2014 11:59:38 +0000
(12:59 +0100)
addressbook/backends/ldap/e-book-backend-ldap.c
patch
|
blob
|
history
diff --git
a/addressbook/backends/ldap/e-book-backend-ldap.c
b/addressbook/backends/ldap/e-book-backend-ldap.c
index
f720ab4
..
bec5d63
100644
(file)
--- 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