LDAP Query - Exclude Exchange Users Hidden from Address Books

Posted on 2007-03-21
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;
Question by:NeoI5theOne
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
  • 2
  • 2
LVL 35

Expert Comment

ID: 18762707
Add msExchHideFromAddressLists=FALSE

Author Comment

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

LVL 35

Assisted Solution

rakeshmiglani earned 100 total points
ID: 18763085
the msExchHideFromAddressLists attribute is set to <Not Set> if the user is not hidden from the GAL.
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

LVL 30

Expert Comment

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


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

Accepted Solution

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


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

Author Comment

ID: 18763303
Worked perfectly, thanks

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
This video discusses moving either the default database or any database to a new volume.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

623 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