|
OK, that query filter looks large and convoluted, i.e. a
normal Exchange filter.
Personally, I would start out with something
like
(|
(homemdb=store URL 1)
(homemdb=store URL 2)
(homemdb=store URL 3)
)
That will list all mailboxes that live in the DBs
specified. Contacts obviously do not have a homeMDB. Neither do
groups.
As for the length of the query, just go in and pop the
purportedSearch attribute directly. You can use ldp, admod, adsiedit,
etc.
joe
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Tuesday, September 27, 2005 9:47 AM To: [email protected] Subject: RE: [ActiveDir] LDAP filters Well, what I need is to
get a list of all the users and groups on three different mailbox stores.
When I use the ADUC snap-in to get the saved queries, it returns this:
(&(&(&
(mailnickname=*) (|
(&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(homeMDB=CN=New
Jersey Mailbox Store,CN=East Coast Storage
Group,CN=InformationStore,CN=SERVER1,CN=Servers,CN=SITE1,CN=Administrative
Groups,CN=SOUTHERNWINE,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=domain,DC=com))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)
)))) Problem is, this LDAP
filter won’t fit in the Custom Search box in ESM, and this is only for one
mailbox store. -Devon From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of joe Be very
careful with this. The RUS doesn't actually use LDAP to execute that filter
except for when you test it in ESM. I have seen perfectly good queries that work
great in the test (because it actually submits the LDAP query to AD) and then
the What
specifically do you want to do, I am sure someone can probably lay out a query
for it. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Where can I fine more info on
creating LDAP filters? I’m trying to have Exchange 2003 Address List
display users on multiple Mailbox Stores and Groups. I have to do a custom
LDAP search to accomplish this. Windows
Systems Engineer Southern Wine
& Spirits - BSG 954-602-2469 __________________________________ |
- RE: [ActiveDir] LDAP filters Harding, Devon
- RE: [ActiveDir] LDAP filters Robin Smith
- RE: [ActiveDir] LDAP filters joe
- RE: [ActiveDir] LDAP filters Marcus.Oh
- RE: [ActiveDir] LDAP filters Harding, Devon
- RE: [ActiveDir] LDAP filters neil.ruston
- RE: [ActiveDir] LDAP filters chris . ryan
- RE: [ActiveDir] LDAP filters Harding, Devon
- RE: [ActiveDir] LDAP filters Harding, Devon
- RE: [ActiveDir] LDAP filters Marcus.Oh
