0 votes

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 five different domains managed by Adaxes

So far i've found the attribute 'adm-ParentName' but i'm not sure it's possible to run LDAP queries on an Adaxes attribute?

I've also tried messing around with the 'DistinguishedName' attribute but I can't seem to make it work with just contains 'OU Name' i.e. (distinguishedname=OU Name)

by (220 points)

1 Answer

0 votes
by (213k points)

Hello Richard,

Unfortunately, there is no possibility to create such an LDAP filter. You will need to use a PowerShell script that will grab the distinguished name of the target user OU (e.g. using the %adm-ParentDN% value reference) and then search for OUs with the same path in other domains managed by Adaxes to perform the required actions. For an example, have a look at the following script from our repository: https://www.adaxes.com/script-repository/reset-user-password-in-resource-domain-s333.htm.

Should you have issues writing the script, please, specify what actions it should perform and how you need it to be executed and we will help you.

Related questions

0 votes
1 answer

Is it possible to for security groups that are nested under an OU to inherit that OU's 'Managed By' value? I'd like to grant the OU Owner rights to the security groups ... option is to manually edit each group one by one. Is there a script that automates this?

asked Mar 26, 2020 by sirslimjim (330 points)
0 votes
1 answer

Hello, I have an LDAP filter on a home page action : (& (objectClass = organizationalUnit) (name = * Users)) But nothing appears When I do the search from the console with my filter, it works: the OU Users * did not directly at the domain root

asked Dec 14, 2011 by mmichard (360 points)
0 votes
0 answers

I am trying to find a way to create Groups based off an OU and a list of options (check boxes) within the portal For example: Select the Target OU to add groups ... 3 - Remote Administrators Option 3 - Remote Developers Option 4 - Readers Option 4 - Writers

asked Sep 11, 2020 by dknapp (100 points)
0 votes
1 answer

Hello, I have Adaxes installed in one forest (domain.com) and we have a 1 way forest trust with another forest (ca.domain.com). I have made the Adaxes service account in ... .com I get the same error. Could someone help me understand what I'm doing wrong?

asked Jun 6, 2016 by drew.tittle (810 points)
0 votes
2 answers

Adaxes team, I'm on version 2017.1 / 3.8.14218.0. I am exporting a list of users (~880) to an Excel file using the Admin Console. I am manually selecting the ... is not currently possible in the software, can I request this as a feature for a future release?

asked Jun 8, 2017 by bradenmcg (260 points)
2,634 questions
2,369 answers
6,291 comments
969,261 users