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 (1.3k points)

1 Answer

0 votes
by (177k 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 by sirslimjim (1.7k 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 (3.7k 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 (4.5k points)
0 votes
1 answer

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 (1.6k 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 (740 points)
2,187 questions
1,949 answers
5,393 comments
5,346 users