LDAP Query (Search Filter)

Posted on 2009-05-28
Medium Priority
Last Modified: 2013-12-05

This is more like a simplre request I'm sure it's common knowledge but what would be the LDAP query in AD for a custom search, to find all members of a particular security group.

So what I want to do is go to Filter -> Click create custom filter.

This is so I can export the list of names in the group.

I know I can use DSQUERY and DSGET but I rather not be stuffing around with that at this point.

Thanks all.
Question by:janjsr
  • 4
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24490793
ldifde -f groups.ldf -d "cn=GroupNameN,ou=myOU,dc=mydomain,dc=com" -l member -s mydc1cscript modify.vbs //Nologo > "GroupNameN.txt"
LVL 52

Accepted Solution

Manpreet SIngh Khatra earned 375 total points
ID: 24490796
DSQuery * "CN=Former,OU=Former Colleagues,OU=User Accounts,OU=IND,OU=Countries,DC=Development" -Attr Member -L -Limit 0
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24502367
Hello i think that we got the query and the result with my post .... ?
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24524923
hello janjsr is the issue resolved or not ?

Author Closing Comment

ID: 31586133
Thanks for helping it worked, however I was more after the LDAP query... in any case it worked thanks.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…

587 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