[evolution-data-server/evolution-data-server-3-12] Bug 739904 - Can't create Contact List on an LDAP server
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/evolution-data-server-3-12] Bug 739904 - Can't create Contact List on an LDAP server
- Date: Tue, 11 Nov 2014 11:01:27 +0000 (UTC)
commit 3fed107debf0803a17d5206157600b4885d5b092
Author: Milan Crha <mcrha redhat com>
Date: Tue Nov 11 11:56:44 2014 +0100
Bug 739904 - Can't create Contact List on an LDAP server
addressbook/backends/ldap/e-book-backend-ldap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/addressbook/backends/ldap/e-book-backend-ldap.c b/addressbook/backends/ldap/e-book-backend-ldap.c
index c3305af..3ddc1ed 100644
--- a/addressbook/backends/ldap/e-book-backend-ldap.c
+++ b/addressbook/backends/ldap/e-book-backend-ldap.c
@@ -1179,11 +1179,11 @@ get_dn_attribute_name (gchar *rootdn,
EContact *contact)
{
/* Use 'uid' is already used in root DN,
- * then use the 'description' field. */
+ * then use the 'cn' field. */
if (strncmp (rootdn, "uid=", 4) == 0 ||
strstr (rootdn, ",uid=") ||
(contact && e_contact_get (contact, E_CONTACT_IS_LIST)))
- return "description";
+ return "cn";
/* Use 'uid' field */
return "uid";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]