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

by on March 24, 2006 · 2 comments· 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:



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 2 comments… read them below or add one }

1 Richard Nyanzi January 10, 2008 at 6:14 pm

This is great… quite a number a variety of issues.please include more security related issues.
Thanx

Reply

2 Thad October 2, 2008 at 4:21 am

From Ubuntu 8.04 (but will work on other distros)

Add application Likewise.
Fill in blanks.

V01L@

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 13 + 3 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: