0 votes

Hi,

Situation: Imagine we have a forest consisting of 3 domains (1 root domain and 2 sub domains) in a single forest

At the moment we installed Adaxes service in the root domain using a managed service account and added his service account to domain admins.

We then added the 2 subdomains to Adaxes and added their user to "domain admins" in each of their domains too.

As you can imagine, domain admins is by default a Global Security Group and therefore accept users of his domain only.

Need: Imagine we would like from a single custom command, to do things in multiple domains of the forest.

What are the options?

  1. delegate each ad rights needed in the subdomains to the root domain account ? (more secure)

  2. Add service account of the root domain to the "enterprise admins" group (We wouldn't want to do that...)

  3. Any other ideas?

ago by (40 points)

1 Answer

0 votes
ago by (301k points)

Hello,

Whenever you are using Adaxes, two layers of permissions are taken into account. First, the actual initiator must have the required permissions to perform the operation in Adaxes. Then there are permissions of the domain service account. For each domain Adaxes uses a dedicated account to perform operations in AD itself. The following article will be helpful: https://www.adaxes.com/help/PermissionsOfDomainServiceAccount.

0

Thanks,

to be more precise i want to run a scheduled task importing a csv containing a list of device in adaxes.

I would then like to search for those device in all the domains (virtual root search)

then i would like to set managedby and description property on those device based on info of the csv.

unfortunately those device could be in different domains.

At the moment I can run this script only in a single domain depending of the credentials used as RunAs.

0

Hello,

If the locations are the same for the devices in all the domains, you can directly import the devices to each of them in the script. There is no need to first create them, then set properties, etc. Unfortunately, we do not have such a script in our repository, but the following tutorial should be helpful: https://www.adaxes.com/help/ScheduleImportOfUsersFromCSV.

0

Hi, No, the devices already exist in different domains, i just have a list of device names in the csv, with owner but dont have any info of their location (Domain or OU...)

Thats why for each line in the CSV i want to search for them in the domain, and if they exist, update their properties, indenpendently of their location assuming they may be in domain A or B or C, so i'm facing the problem of the credentials we may use, because we may need either

  1. a user account that is running the script that is admin in every domain to update the properties when the device is found or
  2. search for all those device in indenpendent script, running in the context of each domains (3 scheduled tasks instead of 1)

Is it more clear?

0

Hello,

By default, all scripts in Adaxes are executed with the credentials of the Adaxes service account. It always has unrestricted permissions in Adaxes and thus you need not to worry about that.

Related questions

0 votes
1 answer

We are planning to use Adaxes in our environment and before proceeding, we need to understand the firewall port requirements for Adaxes service to work. What are the firewall ports needed between Adaxes and AD domain controller?

asked Jan 24, 2024 by Renugopal (120 points)
0 votes
1 answer

Other than potentially infinite loops and scripts querying large number or resources, what are the downsides? We have a custom command that boots up a vm during execution, ... want to make sure there is nother else to consider before increasing the timeout.

asked Mar 10, 2022 by ThompsonAlex (40 points)
0 votes
1 answer

I am working with Adaxes for the first time. Looking to set up the service account so it can actually make changes to AD not just to register the Adaxes Service. I would rather ... the Adaxes service. What I am unable to do is have adaxes make changes to AD.

asked Sep 21, 2022 by mightycabal (1.1k points)
0 votes
1 answer

I am unsure how to deal with this because of how Adaxes treats one identity account as two different objects, an AD and AzureAD user account, and both has different last logon values. What is a good way to combine the data?

asked Apr 22, 2024 by Daniel (160 points)
0 votes
1 answer

The Adaxes service account is a global admin, and we have already granted audit reporting to look for the lockout events, but I cannot pull the logs via the Adaxes service. I am ... enterprise app to pull this data? Or is there a better way to find this info.

asked Apr 21, 2023 by DA-symplr (100 points)
3,674 questions
3,358 answers
8,494 comments
549,285 users