Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have followed the following steps to create a GAL which 1 condition:

---start---

Create a new gal named Test.
R click and select properties.
Under General, click Modify.
Uncheck all except "users with exchange mailboxes."
Click the advanced tab.
Drop down field and click User-> Email Address, then select "ends with" and type in your test domainand click Add.
Hit Find Now to make sure you get the expected results.

That should give you a list of the users with that domain as an email address.

----end----

In regards to adding more conditions to the GAL filter.

It seems that if I add another similar condition that ends with a different domain name, it seems to be filtering CONDITION 1 AND CONDITION 2 which will not show any results when I test it with Find Now, how can I specify CONDITION 1 OR CONDITION 2 so that all email address that ends with either A.com OR B.com will turn up in the filter.

Thanks in advance.

share|improve this question
1  
Can you post the LDAP query for the filter? It's my understanding that you can't use the GUI to create a filter with an OR condition, only an AND condition. I suspect you're going to need to create a custom filter with your conditions. –  joeqwerty Dec 31 '09 at 3:16
    
Yep, I believe Joe is right, you'll need to do a custom query and write the LDAP filter yourself (well adapt the one it generates) –  Sam Jan 1 '10 at 12:58
add comment

1 Answer 1

I don't have an Exchange 2003 still to test on, but if you still need to create one of these in Exchange 2003 you can create the LDAP query as you listed in your original post but use the "|" instead of "&" when it creates the custom LDAP query. This would query OR instead of AND.

(for the comments, Exchange 2003 had this ability in the GUI, pre-powershell days).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.