0 votes

need help
so I set up the LDAP filter to display OU with the name ''External' by doing (name=External*). I also need to have another OU displayed, but no matter what I put in the OU fields, it isn't being displayed.
How do I join LDAP filters so OU's with different name show?
for instance the other OU is OU=Ops,OU=Resource, DC=domain, DC=com

by (1.7k points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

Try the following filter:

(&(objectClass=organizationalUnit)(|(name=OU1)(name=OU2)))

Whenever you need to build a LDAP filter, you can use the LDAP Filter Builder in Adaxes to build a filter in a visual filter editor. For more info, see the following help article: http://www.adaxes.com/help/?UsingAdmini ... ilder.html.

0

Thanks a lot.

Related questions

0 votes
1 answer

What I'm trying to accomplish: user should have access to modify certain accounts where customTextAttribute2="test" (example). When I modify the criteria under "object selection" ... to query custom attributes or do you have to use AD attributes for this?

asked Mar 19 by tromanko (180 points)
0 votes
1 answer

Hi, I recently upgraded Adaxes from 2021.1 to 2023.2, and after the upgrade, an LDAP filter for retrieving the groups a user is owner of, stopped working. The reason ... attribute instead, like this: It works, but sadly it is quite slow. Best regards Martin

asked Aug 21, 2023 by Martin (100 points)
0 votes
1 answer

I've created an interface to edit adm-CustomAttributeText19 when it's empty. I set in the configuration page this filter "Only allow selection of AD objects that match the LDAP ... I open the interface, even if the field is filled. What am I doing wrong?

asked Jan 30, 2023 by Simone.Vailati (430 points)
0 votes
1 answer

I'm trying to create a new command that can apply to User objects across multiple domains that are in OUs with the same 'Name' i.e. an OU called Directors that occurs in ... t seem to make it work with just contains 'OU Name' i.e. (distinguishedname=OU Name)

asked Jan 21, 2020 by richarddewis (260 points)
0 votes
1 answer

I'd like to enter an LDAP string in the Target Object selection to allow managers in Self Service to search for staff in a variety of OU's I've tried to use the string where ... a top level OU. An answer to both types of query or either would be great. Thanks

asked Apr 25, 2018 by AlanWJ (150 points)
3,351 questions
3,052 answers
7,791 comments
545,079 users