Knowledgebase: Server Administration
How to Join an AD Domain from the Command Line
Posted by Mont Rothstein on 18 October 2007 02:51 PM

If you need to join an AD domain from the Linux command line, do the following:

net ads join "OrganizationUnit" -U domainAdminsUserName

You will be prompted for the password.

Ex: net ads join "Computers" -U johnsmith

To test your connection use the command.

net ads testjoin

Comments (0)