Solved

LDAP Search Filters

Posted on 2011-09-08
2
415 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
Comment Utility
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
Comment Utility
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
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.
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now