From installation to Active Directory client with CentOS 4.2 – Part two

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!

You need:

* 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.
* Troubleshooting.

Read more at www.nixadmins.net

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s