[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

03/12/2009 at 07:38AM PDT, ID: 24223961 | Points: 250
[x]
Attachment Details

LDAP Query Filter

Asked by splendorx in Lightweight Directory Access Protocol (LDAP), Active Directory

Tags: LDAP, LDAP Filter, AD, Active Directory

I would like to do a query based on a partial string in the dn.  Here is an example:

(&(objectclass=user)(dn='OU=TEACHERS,DC=ad,DC=mySchool,DC=k12,DC=mi,DC=us'))

The actual values for DN might be:

CN=asmith, OU=TEACHERS, DC=ad, DC=mySchool, DC=k12, DC=mi, DC=us

I want be able to find all the teachers based on a dn ending with 'OU=TEACHERS,DC=ad,DC=mySchool,DC=k12,DC=mi,DC=us'

Please provide an example if this is possible.


TIA,

Terry
[+][-]03/12/09 07:52 AM, ID: 23868984

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/12/09 08:05 AM, ID: 23869159

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/12/09 08:06 AM, ID: 23869178

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/12/09 08:25 AM, ID: 23869460

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/12/09 08:46 AM, ID: 23869772

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/12/09 09:59 AM, ID: 23870797

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625