?
Solved

LDAP Search Filters

Posted on 2011-09-08
2
Medium Priority
?
432 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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Learn about cloud computing and its benefits for small business owners.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…
Suggested Courses

765 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