Setting up offline domain join
If you want your Windows endpoints to join an Active Directory (AD) domain, you can use Tanium Provision to set up an ODJ process instead of updating unattend.xml answer files with clear text passwords that contain the domain join credentials.
Add newly provisioned endpoints to an organizational unit where they can be vetted before users sign in to those endpoints. For more information, see Delegate control to create computer accounts by the ODJ process.
Before you begin
- Make sure that you create a firewall rule to allow inbound connections to the port that is specified in Configure ODJ settings.
- The computer account for the TaniumPXE service must be granted rights to create computer accounts in any organizational unit that is provided to it, using AD Users and Computers.
- For endpoints that are imaged with Provision to successfully complete the ODJ process, you must configure the ODJService and DomainName variables in Create a Windows OS bundle. If the ComputerName value is blank, then the current computer name, which is typically randomly generated, is used. If the organizational unit (OU) is not specified, then the default OU that is configured in AD is used.
Create an ODJ endpoint
To set up the ODJ process, you must enable the ODJ process on at least one Provision endpoint.
- Configure ODJ settings if needed.
From the Provision menu, click Provision Endpoints and then click Create Provision Endpoint.
You can also click Create Provision Endpoint from the Quick Links section of the Provision Overview page.
In the Satellite Endpoints section, select one or more satellites or click Create Satellite to create one in Direct Connect. For more information, see Tanium Direct Connect: Create satellites.
Offline Domain Join is available only for Windows satellites.
- In the Features section, select Offline Domain Join (ODJ) and then click Save and Deploy Now.
As an example, if you enable the ODJ process on an endpoint that is named myServer.myDomain.com, then the ODJ URL is https://myServer.myDomain.com:myPort/getblob.
(Optional) Add certificates and group policy templates
ODJ blobs can optionally contain additional certificates and group policy templates by manually adding them as key value pairs in an OS bundle.
- In the Key Value Entries section of the OS bundle creation page, click Add Key Value Pair.
- Specify the boolean value to include root certificates in AD in the generated ODJ blob.
- For the Key field, select Offline Domain Join: IncludeRootCerts.
- For the Value field, enter 1.
- Specify the name of the certificate template to use when generating a new certificate in the ODJ blob for the computer.
- For the Key field, select Offline Domain Join: CertTemplate.
- For the Value field, enter the certificate template name.
- Specify the group policy objects to include in the ODJ blob for the computer.
- For the Key field, select Offline Domain Join: PolicyNames.
- For the Value field, enter a comma-separated list of names. For example, DirectAccess Client Settings or Autoenroll Machine Certificates,Default Domain Policy.
Delegate control to create computer accounts by the ODJ process
Because the ODJ process can create computer accounts in AD, it is important to limit the scope where the service can make changes to AD. It is highly recommended to limit the ODJ process to create only computer accounts in a single AD OU.
- Open Active Directory Users and Computers and connect to the domain where you want the computer accounts created.
- Right-click the domain, select New > Organizational Unit, enter a name for the OU, and then click OK.
- Right-click the OU, click Delegate Control..., click Next, and then click Add... in the Delegation of Control Wizard.
- For Select this object type:, click Object Types..., select Computers, and then click OK.
- For Enter the object names to select (examples):, provide the name of the computer that is running the ODJ process, click Check Names, click OK, and then click Next.
- Select Create a custom task to delegate and then click Next.
- Select the following options and then click Next.
- Only the following objects in the folder:
- Computer objects
- Create selected objects in the folder
- Delete selected objects in this folder
- Select the following permissions, click Next, and then click Finish.
- Read all properties
- Write all properties
- Read permissions
- Modify permissions
- Change password
- Reset password
- Validated write to DNS host name
- Validated write to service principal name
Last updated: 3/27/2023 4:57 PM | Feedback