[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Filtering the Global Address List

Posted on 2007-12-03
3
Medium Priority
?
444 Views
Last Modified: 2008-02-01
We have a client running Exchange 2003 who was recently purchased by a much larger company that runs Lotus Notes.  They have decided to maintain their Exchange organization in a trusted domain; but want to import a list of the Lotus Notes users so that they can access free/busy information.

The issue is this:

1.  There are a very large number of users in the Lotus Notes environment so we want to keep them from being imported into the default GAL and have them be accessed by a separate address list.  That list has been created and works fine with the test accounts.  Those accounts currently appear in the default GAL.
2.  Each of the Lotus Notes user objects that is being imported is tagged with an extensionattribute that is unique to them and has no meaning in the current client network.
3.  There are many mail-enabled groups (security and distribution) in the current environment.
4.  I created a new GAL and configured it to filter based on that user extension attribute with a filter that looks like:

CustomAttribute 'is not' XXXXX

The obvious problem:
5.  Once the user extension attribute filter is applied, all accounts that are not user accounts are filtered because I apparently am too stupid to figure out a way to create a regular expression in the LDAP query.

How do I create a filter that does:

a)  Filter out any user object with the extension attribute value set to a specific value.
AND
b) keep all the current mail-enabled groups visible in the GAL.

Thanks.
0
Comment
Question by:Manfre7874
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Expert Comment

by:Stacy Spear
ID: 20404351
You didn't post your filter! :)

!extensionttribute1=whatever

Is how you do a not with LDAP. some folks will even do it like this (!(extensionttribute1=whatever))
0
 

Author Comment

by:Manfre7874
ID: 20404526
oops, that would probably help.

-----------------------------
(&(&(&(& (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)(!extensionAttribute15=XXXXX)))

-----------------------------------------------------

I think it's probably something simple; but my actual abilities with writing LDAP are not great.

Thanks for looking.
0
 
LVL 23

Accepted Solution

by:
Stacy Spear earned 1000 total points
ID: 20405239
Try this one out.

(& (&(!extensionAttribute15=XXXXX)(mailnickname=*)) (| (&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)(objectCategory=publicFolder)(objectCategory=msExchDynamicDistributionList) ))

By putting the main delimiter near the front, you decrease the search time drastically by having a more efficient search.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question