Hi Marko,

On 08/04/14 10:09, Marko Milenovic wrote:
> Is it possible to filter/limit Global Address List in any way? What I want
> is that when user opens Address book in Outlook, for example, to be able to
> see only people with email addresses that have the same @domain as that
> particular user. All other addresses should simply not be shown. I don't
> mind changing the code myself if what I need is possible at all. I figured
> out that code in mapiproxy/servers/default/nspi/ is of interest but I don't
> see where database queries actually happen.
What you are trying to achieve is possible but require to modify the
sources.

You have indeed spotted the correct location. The query you want to
modify is presumably the ldb_search() call in emsabp_search
(emsabp.c:1103).
You probably want to change the format strings we use to restrict the
results and append your mail restriction there.

Br,
Julien.

-- 
Julien Kerihuel
[email protected]
OpenChange Project Founder

Twitter: http://twitter.com/jkerihuel

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to