pleyden1974
asked on
LDAP Exchange Recipient Policy
Hi,
I am trying to assign an exchange 2003 recipient policy (windows 2003 AD) to our users based on Information Store (as opposed to Exchange Admin Group / Server / Mail Database).
Problem is I don't know what LDAP query to use for setting different primary SMTP addresses to users based on different Information Stores.
Thanks
I am trying to assign an exchange 2003 recipient policy (windows 2003 AD) to our users based on Information Store (as opposed to Exchange Admin Group / Server / Mail Database).
Problem is I don't know what LDAP query to use for setting different primary SMTP addresses to users based on different Information Stores.
Thanks
ASKER
hi Sud,
Thanks for your reply, Yes I saw that when I was attempting to set it up, however it is for Mail Databse not Information Store. I didn't want to set up 16 policies for each Mail Databse (I have 4 stores with 4 mail databases in each) and doing one for the Server only isn't an option.
I guess I need to find the exchange atrtibute that relates to "Information Store"
Thanks for your reply, Yes I saw that when I was attempting to set it up, however it is for Mail Databse not Information Store. I didn't want to set up 16 policies for each Mail Databse (I have 4 stores with 4 mail databases in each) and doing one for the Server only isn't an option.
I guess I need to find the exchange atrtibute that relates to "Information Store"
Well In that Case you can have a custom search recipient policy. In homeMDB attribute specify your storage group. It should work for you :D
(&(&(& (mailnickname=*) (| (&(objectCategory=person)( objectClas s=user)(ho meMDB=CN=S torage_Gro up,CN=Info rmationSto re,CN=Serv ername,CN= Servers,CN =First Administrative Group,CN=Administrative Groups,CN=ORG,CN=Microsoft Exchange,CN=Services,CN=Co nfiguratio n,DC=xxx,d c=yyy)) ))))
(&(&(& (mailnickname=*) (| (&(objectCategory=person)(
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Hi Sud,
Great, This was the query against the mail store - which worked - but is not what I want:
(&(&(& (mailnickname=*) (| (&(objectCategory=person)( objectClas s=user)(ho meMDB=CN=D atabase A - F,CN=SG1,CN=InformationSto re,CN=serv ername,CN= Servers,CN =AdminGrou p,CN=Admin istrative Groups,CN=Organisation,CN= Microsoft Exchange,CN=Services,CN=Co nfiguratio n,DC=xxx,D C=yyy)) ))))
So I removed "Database A- F" so there is only the Storage Group listed:
(&(&(& (mailnickname=*) (| (&(objectCategory=person)( objectClas s=user)(ho meMDB=CN=S G1,CN=Info rmationSto re,CN=serv ername,CN= Servers,CN =AdminGrou p,CN=Admin istrative Groups,CN=Organisation,CN= Microsoft Exchange,CN=Services,CN=Co nfiguratio n,DC=xxx,D C=yyy)) ))))
however this query came back with no results?
Great, This was the query against the mail store - which worked - but is not what I want:
(&(&(& (mailnickname=*) (| (&(objectCategory=person)(
So I removed "Database A- F" so there is only the Storage Group listed:
(&(&(& (mailnickname=*) (| (&(objectCategory=person)(
however this query came back with no results?
ASKER
and I wasn't able to paste in a large query in the custom LDAP query in AD (for testing) which included multiple Mail Databases eg (CN=Database A -F etc etc)(CN=Database G - S etc etc)(CN=Database T - Z etc etc)
ASKER
if you ran your query agains your Storage Groups, do you get a result showing all users in the databases under that storage group?
I was able to get into my lab. Apparently there is restriction on query size so you are out of luck here.
Picture-1.png