[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

LDAP Search Filters

Posted on 2011-09-08
2
Medium Priority
?
446 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
2 Comments
 
LVL 27

Accepted Solution

by:
KenMcF earned 2000 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

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

873 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