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:
- Active Directory Domain with Samba Domain Member Server howto
- Samba 3 and joining an Active Directory/domain howto
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins

- My 10 UNIX Command Line Mistakes
- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
Facebook it - Tweet it - Print it -
We're here to help you make the most of sysadmin work. So, subscribe!

{ 2 comments… read them below or add one }
This is great… quite a number a variety of issues.please include more security related issues.
Thanx
From Ubuntu 8.04 (but will work on other distros)
Add application Likewise.
Fill in blanks.
V01L@