Teaming with LDAP enabled, but I need to exclude some OUs for Teaming.

The reason is, we have one OU that contains a address book with approx
17,000 entries. This entries now show up in Teaming as users but this
entries are useless.

ou=addressbook,o=company but the users are placed below o=company.

How to exclude ou=addressbook,o=company from teaming and how to delete this
unwanted users?