Solved

Need to test a LDAP query, how?

Posted on 2014-10-07
1
153 Views
Last Modified: 2014-11-13
Hi, need to do some LDAP query testing like this to a Windows 2008 server

(&(|(objectClass=User)(objectClass=person)(objectclass=group))(|(mail=*@domain.local))(!(userAccountControl:dn:1.2.840.113556.1.4.803:=2)))

This would give me a list of users, but I cant find any program to enter a query, i have found some LDAP browsers but they only give me the schema.
0
Comment
Question by:per-w
[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
1 Comment
 
LVL 5

Accepted Solution

by:
Abdul Khadja Alaoudine earned 500 total points
ID: 40367974
You can use Active Directory Users and Computers mmc console. Open it --> then right click on Saved Queries --> New --> Query --> Define Query --> Choose Custom Search in Find drop down list --> Click on Advanced --> Paste your query and save it. Close the New Query window and it will run.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

696 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