Site Server General - LDAP query

This is Interesting: Free IT Magazines  
Home > Archive > Site Server General > February 2004 > LDAP query





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author LDAP query
Halfbakedeagle

2004-02-04, 10:38 am

I am attempting to run a query to make a custom GAL in Exchange 03.
here is the query that I have;

(&(&(&(& (mailnickname=*) (|
(& (objectCategory=person)(objectClass=user
)(!(homeMDB=*))(!(msExchHomeServerName=*
)))(& (objectCategory=person)(objectClass=user
)(|(homeMDB=*)(msExchHomeServerName=*)))
(& (objectCategory=person)(objectClass=cont
act))(objectCategory=group)(objectCatego
ry=pub
licFolder)(objectCategory=msExchDynamicD
istributionList)
)))(objectCategory=user)(mailNickname=A*
)(objectCategory=group)(sn=k*)))&(objectCategory=group)(cn=D*)))

if I have objectCategory=user.....
the query works fine
if I have objectCategory=group.....
the query works fine
I have tried to use the & and also the (| but niether seems to work.
Anyone out there familiar with running an "and" // "or" against LDAP
for Exchange queries?
Thank you in advance for your Help

- Phil
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com