Solved

ldap search security group membership

Posted on 2014-07-23
3
714 Views
Last Modified: 2014-08-15
Hi!

I'm trying to do an ldap search for all users who are part of an OU called IT and Members Of a Security Group called PEMUsers.

The users are located here: OU=IT,OU=Users,OU=Ewing,OU=CU,DC=cunj,DC=local

The Security Group called PEMUsers is located: CN=PEMUsers,OU=Groups,OU=Ewing,OU=CU,DC=cunj,DC=local

I'm having trouble writing the filter to narrow down based on people being in the Security Group called PEMUsers.

I can use the first query to list all the users of the OU called IT which works well, But when I applied the filter below I yield no results.

I've tried:

memberOf=CN=PEMUsers,OU=IT,OU=Users,OU=Ewing,OU=CU,DC=cunj,DC=local

and

memberOf=CN=PEMUsers,OU=Groups,OU=Ewing,OU=CU,DC=cunj,DC=local



Any ideas?
0
Comment
Question by:First Last
[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
  • 2
3 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 40215580
You won't be able to do it using an LDAP query.  Would you be open to doing it via a script?

Thanks

Mike
0
 
LVL 1

Author Comment

by:First Last
ID: 40215597
Hi Mike -

Unfortunately, the software I'm using only allows me to run a command line for a search and a command line for a filter.

Is there any other way you can think of to find all members in a specific security group?  At this point I don't care what OU the user resides.

Thanks,

Mike!
0
 
LVL 1

Author Closing Comment

by:First Last
ID: 40263194
My software had a limitation. I couldn't apply a detailed script which would have otherwise worked.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

749 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