Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ldap query for address book views in exchange

Status
Not open for further replies.

terry712

Technical User
Oct 1, 2002
2,175
GB
basically what i want to do is edited the purported search attribute to include and or so i want to search for if user has a custom attribute 1 = glasgow and a group has a custom attribute 1 = glasgow then show result

the search below is the syntax if you search with the and which obviousl;y doesnt work - any idea where you put the | for the or

this query was build from the standard find filters and then just pasted out

(&(&(&(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)(objectCategory=publicFolder)(objectCategory=msExchDynamicDistributionList) )))(objectCategory=user)(objectCategory=group)(extensionAttribute1=glasgow)(extensionAttribute1=glasgow)))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top