[evolution-exchange/gnome-2-28] Bug #521956 - Groups from Global Address List are incomplete
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-exchange/gnome-2-28] Bug #521956 - Groups from Global Address List are incomplete
- Date: Thu, 15 Oct 2009 12:45:39 +0000 (UTC)
commit 76ee9508f75cf1b53dd42dc8bfe65f1a7c259fdd
Author: Milan Crha <mcrha redhat com>
Date: Thu Oct 15 14:42:01 2009 +0200
Bug #521956 - Groups from Global Address List are incomplete
There is an option for expanding/not expanding groups in 2.29.1.
addressbook/e-book-backend-gal.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/addressbook/e-book-backend-gal.c b/addressbook/e-book-backend-gal.c
index f4d98db..3b33a6e 100644
--- a/addressbook/e-book-backend-gal.c
+++ b/addressbook/e-book-backend-gal.c
@@ -1061,10 +1061,10 @@ func_contains(ESExp *f, gint argc, ESExpResult **argv, gpointer data)
r->value.string = g_strdup_printf ("(%s=*)", ldap_attr);
} else if (!strcmp(propname, "file_as")) {
r = e_sexp_result_new(f, ESEXP_RES_STRING);
- r->value.string = g_strdup_printf ("(|(displayName=%s*)(sn=%s*)(%s=%s*))", str, str, ldap_attr, str);
+ r->value.string = g_strdup_printf ("(|(displayName=*%s*)(sn=*%s*)(%s=*%s*))", str, str, ldap_attr, str);
} else if (g_str_equal (ldap_attr, "displayName")) {
r = e_sexp_result_new(f, ESEXP_RES_STRING);
- r->value.string = g_strdup_printf("(|(displayName=%s*)(sn=%s*)(givenName=%s*))", str, str, str);
+ r->value.string = g_strdup_printf("(|(displayName=*%s*)(sn=*%s*)(givenName=*%s*))", str, str, str);
} else
r = e_sexp_result_new(f, ESEXP_RES_UNDEFINED);
return r;
@@ -1493,7 +1493,7 @@ build_contact_from_entry (EBookBackendGAL *bl, LDAPMessage *e, GList **existing_
if (subldap && (ldap_error = ldap_search_ext_s (subldap,
values[i],
LDAP_SCOPE_BASE,
- "(objectclass=User)",
+ "(objectclass=*)",
grpattrs, 0,
NULL,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]