We help IT Professionals succeed at work.
Get Started

Active Directory filter string to return all entries with a specific null attribute

587 Views
Last Modified: 2008-01-09
Hello I'm using the Softerra LDAP broser and trying to do a very simple query against Active Directory.  I'm basically trying to find all the entries in the directory where the attribute is null or "" (hasn't been set, is empty).  If I place "attribute=hello" in the filter field and click search I do get a proper result set and can do wild car pattern matching, i.e. attribute = hel*, etc.  When I simply enter attribute=null I get nothing returned by the search.  I've tried IS NULL, attribute = " ", attribute = "".  Any ideas out there?  It could be that the browser doesn't support this (which I'd regard as rather odd as it seems like a very robust tool) or perhaps Active Directory requires a specific way of querying this...  Thanks for you help everyone!  :-)

--John
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE