Filter LDAP exclude specific OU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 06:24 AM
Hi to all,
I need to get all users from LDAP node, but I have to exclude some OU.
This is my current structure of AD:
root
-- OU=Group1
-- OU=Group2
-- OU=Group3
-- OU=Support
----CN=User1
----CN=User2
...
----OU=Operators
-----OU=TEST (I have to exclude this OU)
Thanks,
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 06:29 AM
On the LDAP OU definition, you can use an filter. If you do a search on LDAP filter, you get plenty of hits. If you have to exclude only one OU (and get all others), the filter is:
(!(OU=TEST))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 06:38 AM
Thanks for reply.
If I want start witch "Operators" as root ?
I need to get all users starting from OU Operators.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 06:41 AM
Then you have to define your starting search directory in the LDAP server: LDAP server fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 07:04 AM
I set good "starting search" and I add filter, but When I push Browse I see again "OU TEST"