Exclude sub OUs in LDAP

Pintu2
Tera Expert

How to exclude a sub-OU in importing an OU into ServiceNow?

I have an OU ABC with few sub-OUs and I don't want one of the sub-OUs in ServiceNow.How to exclude the users from one the sub-OU and if not how could I not update/insert these users in ServiceNow?

Appreciate your response.

 

Thank you.

8 REPLIES 8

Try filtering the dn as you mentioned other fields are working, may not be exact solution but works.

(!dn='OU=ServiceAccount,DC=yourdomain,DC=com')

I tried but it didn't work.

Hi,

Hmm...can you try something like:

(!(ou:dn:=ServiceAccount))

Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

I tried giving with my sub OU details but it didn't work.