I am looking for filtering multiple OU path for ldap. Need help on how we can do that.

VedikaT
Tera Contributor

From ldap intergration, we need to filter out different OU paths under a Parent OU.

Need help to apply the filter.

3 REPLIES 3

Kieran Anson
Kilo Patron

You'd use the exclude operator to do so

(&(!(ou=Sales))(!(ou=Engineering))(!(ou=HR)))

Hi Kieran,

Thanks for your help. Do you have any idea if we can exclude path in bold "

OU=PAM,OU=T0-Groups,OU=Tier 0,OU=Admin,DC=global,DC=internal,DC=carlsberggroup,DC=com"

"

(&(!(OU=PAM,OU=T0-Groups,OU=Tier 0))