Join the Active Directory Domain

Default Container

Once the necessary permissions are granted to the appropriate security principals, the domainjoin-cli command can be used on the AD Bridge agent to join the computer to the domain’s default container:

domainjoin-cli join domain.com user password

For example, to join to the domain contoso.com with the delegated user jsmith and a password of AlphaOne1, use:

domainjoin-cli join contoso.com jsmith AlphaOne1

Targeted OU

Once the necessary permissions have been granted to the appropriate security principals, the domainjoin-cli command can be used on the AD Bridge agent to join the computer to the domain while a targeting a specific OU:

domainjoin-cli join --ou OUName domain.com user password

For example, to join to the domain contoso.com under the UnixServers OU, with the delegated user jsmith and a password of AlphaOne1, use:

domainjoin-cli join --ou UnixServers contoso.com jsmith AlphaOne1

For more information, please see the AD Bridge Installation Guide; run the domainjoin-cli command from the console; or review the domainjoin-cli man page.