Solved

Users in Nested Groups LDAP Query Help

Posted on 2013-01-11
3
1,590 Views
Last Modified: 2013-01-16
My LDAP Query will not run. Its purpose is to enumerate users of groups and users in groups nested below target group.

(&((objectCategory=user)(memberOf:1.2.840.113556.1.4.1941:=CN=xxx,OU=xxx,OU=xx,OU=xx,DC=xxx,DC=xx,DC=xx,DC=xx)))

Can someone tell me why this is not working?

Error: The query filter "(&(&(&((objectCategory=user)(memberOf:1.2.840.113556.1.4.1941:=CN=xxx,OU=xxx,OU=xx,OU=xx,DC=xxx,DC=xx,DC=xx,DC=xx)))))" is not a valid query string.
0
Comment
Question by:elv1s
[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: 38768702
Is this in ADUC, I have some other ways to do it here

http://adisfun.blogspot.com/2009/06/find-group-members.html

also use (objectcategory=person)(objectclass=user)  > for the user portion.

Thanks

Mike
0
 

Author Comment

by:elv1s
ID: 38772012
Yes this is in ADUC. I would like to keep the LDAP filter in ADUC. I am sure this is possible. Help is appreciated.
0
 

Author Comment

by:elv1s
ID: 38772038
fixed with info from mkline71

(&(objectcategory=person)(objectclass=user)(memberOf:1.2.840.113556.1.4.1941:=CN=xxx,OU=xxx,OU=xx,OU=xxx,DC=xxx,DC=xxx,DC=xxx,DC=xxx))
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

Learn how ViaSat reduced average response times for IT incidents from 10 minutes to 30 seconds.
This article runs through the process of deploying a single EXE application selectively to a group of user.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

756 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