[evolution-data-server] 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] Bug 739904 - Can't create Contact List on an LDAP server
- Date: Tue, 11 Nov 2014 10:56:52 +0000 (UTC)
commit 3ca6c6b7381d6980083624c6a5a21fe0de809790
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 f1b7ee9..52ce591 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]