How do I join a Windows 2003 Active Directory domain from Linux system?

Posted on in Categories News last updated March 24, 2006

Recently I was working on small project with a new company. They are Microsoft only shop. Finally, Linux made entry into their shop.

These days Linux is more common in enterprises. Since Linux systems were limited (as compare to number of windows boxes) they don’t want new set of administration tools and additional user accounts i.e. they want to use Windows 2003 Active Directory domain from Linux system.

First you need to configure both Samba (smb.conf) and MIT Kerberos (krb5.conf) services. Next type the following command:

# net ads join –UAdministrator

You will be prompted for domain admin password. Above single command is use to join Active Directory domain from Linux system. It should work with FreeBSD system too.

See also:

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

3 comment

Leave a Comment