Solved

LDAP Search Filters

Posted on 2011-09-08
2
427 Views
Last Modified: 2012-06-27
Basically I am just trying to create an LDAP search folder within this 3rd party software. I'm using standard Windows 2003 parameters. I can't seem to be able to create a search filter/query that has multiple groups.. I have tried all kinds of different arrangements. I either get ldap search filter errors, or I get results but not the right results or a get nothing returned in the results, zero.. Here is example of a search query I am trying to create that searches multiple groups.. Anyone know how to do this?

(&(objectclass=user)(|(memberof=somedn)(memberof=some­dn2)(memberof=somedn3))

0
Comment
Question by:SBOT_Tech
[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 Comments
 
LVL 27

Accepted Solution

by:
KenMcF earned 500 total points
ID: 36506395
Can you test your same filter in something like ADFind?

http://joeware.net/freetools/tools/adfind/index.htm

This filter should work. It will get all users that are a member of group1 or group2.

"(&(objectclass=user)(|(memberof=CN=GROUP1,DC=domain,DC=local)(memberof=CN=GROUP2,DC=domain,DC=local)))"
0
 

Author Closing Comment

by:SBOT_Tech
ID: 36506573
Thanks,
I downloaded that tool and that filter did work..But it doesn't work within my 3rd party app. Looks like its my my syntax but maybe the applications problem.. thanks for your help. I can move on to the next state
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
Learn about cloud computing and its benefits for small business owners.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

691 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