Solved

LDAP Search Filters

Posted on 2011-09-08
2
418 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 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RESOURCE_SEMAPHORE waits - unexplained performance problem, BIG 20 52
inactive users 13 80
SolarWind and DNS Server 12 81
Auslogics BoostSpeed 9 software 5 71
The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

832 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