Yes, I’ve tried to include the parent OU but still no luck. I’ve also tried
to modify the Search Base to specify the OU and it works but only allows one
OU and not able to exclude.

 

From: [email protected] [mailto:[email protected]] On Behalf Of Noja, Fadi
Sent: Wednesday, 28 January 2009 2:27 PM
To: [email protected]
Subject: RE: How to exclude OU from LDAP query [SEC=UNCLASSIFIED]

 

Have you tried specifying the OUs you want to include?

 

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of Jeffery Tsui
Sent: Wednesday, 28 January 2009 2:19 PM
To: [email protected]
Subject: How to exclude OU from LDAP query

 

Hi all,

 

Wondering if anyone has had experience in importing AD profile with LDAP
query to exclude (or include) specific OUs? 

 

OU structure as follow:

n  OU_lv1

§  OU_lv2_1

·         OU_lv3_1

·         OU_lv3_2

·         OU_lv3_3

§  OU_lv2_2

§  OU_lv2_3

Requirement: include all profiles but exclude OU_lv3_1.

 

I’ve tried following with no luck:

(&(objectCategory=Person)(objectClass=User)(!(memberof:1.2.840.1135561.4.19
41:=(CN=Authenticated
Users,OU=OU_lv3_1,OU=OU_lv2_1,OU=OU_lv1,DC=domain,DC=local))))

(&(objectCategory=Person)(objectClass=User)(memberof:1.2.840.113556.14.1941
:=(CN=Authenticated Users, OU=OU_lv1,DC=domain,DC=local)))

 

Thanks

Jeffery

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to