[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Openldap/Outlook 2000



Hi Kamesh,

The actual search string used by LDAP service in Outlook can be found in
the registry and looks like the following:

	(&(mail=*)(|(mail=%s*)(|(cn=%s*)(|(sn=%s*)(givenName=%s*)))))

This is located on my system (W2K) under:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\Microsoft Outlook Internet
Settings\a27d8e6a79dd0b489277326299b681de

Dunno if this is a common CSID amongst systems but try searching for the
name of your LDAP server and look for the above string.  You can always
widen the search by inserting other filter statements. e.g.: To search
the telephoneNumber and postal address, you would change the search to:

(&(mail=*)(|(mail=%s*)(|(telephoneNumber=%s*)(|(postalAddress=%s*)(|(cn=
%s*)(|(sn=%s*)(givenName=%s*)))))))

Or, search the DN as well:

(&(mail=*)(|(mail=%s*)(|(dn=%s*)(|(cn=%s*)(|(sn=%s*)(givenName=%s*))))))


This string is set during installation in the file MAPISVC.INF, which is
under

	C:\Program Files\Common Files\System\Mapi\1033\NT

On my system, or part of the installation tree if you did an
administrative install of office to a file server.



Rgds,


Simon Thornton

-----Original Message-----
Sent: Thursday, February 28, 2002 12:00
Cc: openldap-software@OpenLDAP.org
Subject: RE: Openldap/Outlook 2000


I dont believe you can do this as when searching in outlook you are only
searching for cn's not the makeup of the entire DN which would mean you
would only be able to search for the info before the @. Or is there
another
way of doing it?



Attachment: smime.p7s
Description: S/MIME cryptographic signature