Posted by Diezel on Tue, 2006-08-22 20:54
This is the second part of an article I started a _long_ time ago explaining how to connect a Linux desktop to Microsofts Active Directory, this time with the CentOS distribution. The first part can be found here. Hopefully you now have CentOS setup and are getting eager to get the domain logins working. We will get to that in a minute. First let’s discuss the process overall and what you already need to know or have setup. This guide has no guarantee on working, you should also backup any important data before proceeding. If you run in to trouble post in our forums and we’ll do our best to help you. A good practice is to backup the configuration file you are about to edit, so if you run into problems you can reset it to the original file. Remember, playing with authentication can get you locked out of your system!
* Working Windows domain with Active Directory.
* CentOS 4 installed on a desktop or virtual machine (VMWare, Microsoft Virtual PC or server).
Also you need to have the following information at hand:
* Your Windows domain name.
* The name of the Active directory domain controller.
* User account and password for an administrative account in the domain.
That’s it. Now let’s get on with configuring the system.
In this article:
* Installing OpenLDAP.
* Configuring Samba .
* Starting the winbind daemon.
* Adding the workstation to the domain.
* Configuring /etc/nsswitch.conf
* Testing winbind
* Testing Windows to Linux account conversion.
* Editing /etc/sysconfig/samba.
* Editing PAM settings.
* Starting the daemons.
* Further reading.