boosterloading.blogg.se

Active directory run command
Active directory run command







  • domainName with the FQDN of the domain.
  • organizationalUnitName with the name of the organizational unit that you want to join.
  • path with the AD path to the OU from the top down, with each node separated by a forward slash ( /).
  • Run the following command as root, replacing these values: Replace organizationalUnitName with the path and name of the organizational unit that you want to join, domainName with the FQDN of the domain, and joinAccount with the user name of an account that has privileges to join computers to the target OU: /opt/pbis/bin/domainjoin-cli join -ou organizationalUnitName domainName joinAccount.Įxample: /opt/pbis/bin/domainjoin-cli join -ou Engineering Administrator Join a Linux or Unix Computer to a Nested Organizational Unit Join a Linux or Unix Computer to an Organizational Unit On Ubuntu, execute the sudo su command before you run the domainjoin-cli command.

    active directory run command

    Replace domainName with the FQDN of the domain that you want to join and joinAccount with the user name of an account that has privileges to join computers to the domain: /opt/pbis/bin/domainjoin-cli join domainName joinAccountĮxample: /opt/pbis/bin/domainjoin-cli join Administrator

  • The computer can reach the domain controller.
  • The computer's name server can find the domain.
  • To join a domain, ensure the following are in place: You can also join a domain without changing the /etc/hosts file.įor more information, please see Join Active Directory Without Changing /etc/hosts. When you join a domain by using the command-line utility, AD Bridge Enterprise uses the hostname of the computer to derive a fully qualified domain name (FQDN) and then automatically sets the FQDN in the /etc/hosts file. On Linux or Unix computers, the location of the domain join command-line utility is /opt/pbis/bin/domainjoin-cli.

    active directory run command

    Join Active Directory from the Command Line









    Active directory run command