i2003-05-19 Chris Toshok <toshok@ximian.com>

* backend/pas/pas-backend-ldap.c (func_beginswith): use the more
	convoluted (but more correct) query if evolutionPerson is
	supported.  Fixes #42825.

svn path=/trunk/; revision=21270
This commit is contained in:
Chris Toshok
2003-05-19 20:30:24 +00:00
parent 6052618948
commit ab8f20f873
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
2003-05-19 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (func_beginswith): use the more
convoluted (but more correct) query if evolutionPerson is
supported. Fixes #42825.
2003-05-19 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-destination.c (use_default_book_cb): handle the
+2 -1
View File
@@ -2617,7 +2617,8 @@ func_beginswith(struct _ESExp *f, int argc, struct _ESExpResult **argv, void *da
else if (!strcmp (ldap_attr, "fileAs")) {
if (ldap_data->bl->priv->evolutionPersonSupported)
ldap_data->list = g_list_prepend(ldap_data->list,
g_strdup_printf("(fileAs=%s*)", str));
g_strdup_printf("(|(fileAs=%s*)(&(!(fileAs=*))(sn=%s*)))",
str, str));
else
ldap_data->list = g_list_prepend(ldap_data->list,
g_strdup_printf("(sn=%s*)", str));