Solved

LDAP Query - Exclude Exchange Users Hidden from Address Books

Posted on 2007-03-21
6
2,566 Views
Last Modified: 2008-05-31
How can I change an LDAP Query to stop Exchange users who have been hidden from Address Lists from showing up? All I use at the moment is;
(objectClass=user)
0
Comment
Question by:NeoI5theOne
  • 2
  • 2
  • 2
6 Comments
 
LVL 35

Expert Comment

by:rakeshmiglani
ID: 18762707
Add msExchHideFromAddressLists=FALSE
0
 

Author Comment

by:NeoI5theOne
ID: 18762925
Yeah, I had tried this already, but it doesn't work. What am I doing wrong?

(&(msExchHideFromAddressLists=FALSE)(objectClass=user))
0
 
LVL 35

Assisted Solution

by:rakeshmiglani
rakeshmiglani earned 100 total points
ID: 18763085
the msExchHideFromAddressLists attribute is set to <Not Set> if the user is not hidden from the GAL.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 30

Expert Comment

by:LauraEHunterMVP
ID: 18763129
To query on a <Not Set> attribute, you would need to use a "NOT" query like this one:

(&(objectClass=user)(objectCategory=Person)(!msExchHideFromAddressLists=FALSE))

In other words: "show me the users where this attribute is NOT set to FALSE."
0
 
LVL 30

Accepted Solution

by:
LauraEHunterMVP earned 400 total points
ID: 18763137
Sorry, was typing too quicklly (and it's too early in the morning):


(&(objectClass=user)(objectCategory=Person)(!msExchHideFromAddressLists=*))

In other words: "show me the users where this attribute has NOT been set to any value."
0
 

Author Comment

by:NeoI5theOne
ID: 18763303
Worked perfectly, thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an email address policy 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 Mail Flow…
In this video we show how to create a mailbox database 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 Servers >> Data…

777 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