• Advertisement
Advertise Here!
Get exposure and get noticed!
We offer affordable advertisement options, click Here to get more information or visit the "How to Advertise on IT Notebook" under the Information section.

Windows 2000+ - Active Directory - Custom searches

Any software title released for Windows. Articles are posted in "Windows Version - Software Title - Subject" format.

Windows 2000+ - Active Directory - Custom searches

Postby lmmtux » Tue Aug 14, 2012 9:19 am

In the Active Directory Users and Computers console, sometimes manual queries need to be run since the searching capabilities are somewhat limited. Examples below are common uses for doing a manual query.

Search for a name string

This is useful for searching for a name in Active Directory. By default, the console will only match the first part of a field (i.e. if you search for "smith", and there is a user called John Smith it will be found; but a user with the name John Locksmith will not).

  1. Open Active Directory Users and Computers.
  2. Select the area to search and right-click and select "Find".
  3. In the Find: dropdown menu, select "Custom Search".
  4. Click the Advanced tab.
  5. For "Enter LDAP query:", put in:
    Code: Select all
    name=*stringtosearchfor*
  6. Click "Find Now" and it should display all matches.
searchstring.jpg
searchstring.jpg (29.1 KiB) Viewed 2338 times



Search for an email address

  1. Open Active Directory Users and Computers.
  2. Select the area to search and right-click and select "Find".
  3. In the Find: dropdown menu, select "Custom Search".
  4. Click the Advanced tab.
  5. For "Enter LDAP query:", put in:
    Code: Select all
    proxyaddress=smtp:*emailaddress@yourdomain.com*
  6. Click "Find Now" and it should display all matches.
searchemail.jpg
searchemail.jpg (30.18 KiB) Viewed 2338 times
lmmtux
 
Posts: 55
Joined: Mon Jul 30, 2012 9:40 pm
Reputation: 0

Return to Microsoft Windows

 


  • Related topics
    Replies
    Views
    Last post
cron