Hello,

is it possible to know which controller domain is connected to adxes ?
and may be forced Adaxes has to connect to a domain controller in particular ?

Thx.

by (360 points)

1 Answer

by (216k points)
0 votes

Update 2015

Starting with Adaxes 2015, it is possible to configure Adaxes to connect to specific domain controllers. For details, have a look at the following help article: https://www.adaxes.com/help/UseSpecificDCs.

Original

Hello,

is it possible to know which controller domain is connected to adxes ?

Yes, it's possible. You can, for example, create a Custom Command executed on a domain object that outputs the FQDN of the Domain Controller that Adaxes uses for the domain in the Execution Log of the operation.

To create such a Custom Command:

  1. Create a new Custom Command.

  2. On the 2nd step of the Create Custom Command wizard, select the Show all object types option.

  3. Select the Domain-DNS object type.

  4. On the 3rd step, add the Run a program or PowerShell script action and paste the following script in the Script field.

     $domainName = $Context.GetObjectDomain("%distinguishedName%")
     $rootDSE = $Context.BindToObject("Adaxes://$domainName/rootDSE")
     $domainControllerFQDN = $rootDSE.Get("dnsHostName")
     $Context.LogMessage($domainControllerFQDN, "Information")
    
  5. Enter a short description for the script and click OK.

  6. Finish creation of the Custom Command.

and may be forced Adaxes has to connect to a domain controller in particular ?

Right now that's not possible, but starting from a minor update to Adaxes 2014.1 that will be available in a couple of weeks, it will be possible to force Adaxes to connect to specific Domain Controller(s).

by (1.8k points)
0

I am guessing that in the case where the domain controller that Adaxes is forced to go against is down or otherwise unavailable, it will choose a random?

by (216k points)
0

Hello,

No, it's going to work a bit differently. For each domain registered in Adaxes, you will be able to specify a list of DCs that Adaxes must use in the order of preference. That is, "connect to DC1. If DC1 is not available, use DC3. If that is unavailable, try DC5..." and so on. If all the DCs specified in the configuration are not available, Adaxes will not try to connect to other DCs that are not in the list, and the domain will be marked as not operational in Adaxes.

Related questions

Hello, We are running Adaxes 3.18.25007.0 with a managed domain example.local that has two domain controllers, DCnode1 and DCnode2. The domain was registered by ... get automatic failover? Thank you in advance for your help. Best regards, Leonardo Bressan

asked Oct 5 by lbressan (160 points)
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

Hello, We have multiple Domain Controllers in single domain. let saya DC1.domain.com, DC2.domain.com, DC3.domain.com When we want to get LastLogon value, how can we get the latest LastLogon value among the three DCs?

asked Dec 19, 2021 by fachmi (170 points)
0 votes
1 answer

Hi, Not worked with Adaxes before and just as I joined company we've had domain migration in place. After migration, whenever we want to access Exchange properties of a user ... works fine across domain..? Any ideas, however basic they may be?? regards Robert

asked Oct 16, 2019 by roberttryba (70 points)
0 votes
0 answers

Hi, We are a European branch of a US company, our Exchange server is in US and talks to the US DC. This leads to the situation that when our helpdesk resets a password, ... Even better would be if it could be scripted based on OU the user resides in. Thanks!

asked Dec 8, 2017 by digimortal (240 points)
0 votes
1 answer