evolution-data-server r9677 - branches/EXCHANGE_MAPI_BRANCH/addressbook/backends/galldap



Author: msuman
Date: Wed Oct 15 08:18:47 2008
New Revision: 9677
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9677&view=rev

Log:
MAPI: Ashish Shrivastava  <shashish novell com> - Fix for a GAL search issue.

Modified:
   branches/EXCHANGE_MAPI_BRANCH/addressbook/backends/galldap/ChangeLog
   branches/EXCHANGE_MAPI_BRANCH/addressbook/backends/galldap/e-book-backend-galldap.c

Modified: branches/EXCHANGE_MAPI_BRANCH/addressbook/backends/galldap/e-book-backend-galldap.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/addressbook/backends/galldap/e-book-backend-galldap.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/addressbook/backends/galldap/e-book-backend-galldap.c	Wed Oct 15 08:18:47 2008
@@ -1049,6 +1049,9 @@
 	} 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);
+	} 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);
 	} else 
 		r = e_sexp_result_new(f, ESEXP_RES_UNDEFINED);
 	return r;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]