Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What are the best-practices for using Active Directory to authenticate users on linux (Debian) boxes?

The way I would like it to work would be to add AD users to a group - say linux administrators or linux webserver, and based on their group membership they would/would not be granted access to a particular server. Ideally the root account would be the only one maintained in the standard way.

My goals in doing this are as follows:

  • To allow password changes in one place
  • To automatically grant certain people access to the linux servers using their AD credentials
  • To consolodate all of our user information into one database

Things I want to avoid are:

  • anything difficult/counter-intuitive for our Active Directory administrator to manage
  • locking users out if the AD servers are unreachable for some reason (ie - it needs to cache the credentials somehow)
  • anything too complex or non-standard that will break the next time I upgrade the server.
share|improve this question

4 Answers

The software you are looking for is called Likewise-open.

From their page:

  • Joins non-Windows systems to Active Directory domains in a single step from the command line or from a GUI
  • Authenticates users with a single user name and password on both Windows and non-Windows
  • Enforces the same password policies for non-Windows users and Windows users
  • Supports multiple forests with one-way and two-way cross forest trusts
  • Caches credentials in case your domain controller goes down
  • Provides single sign-on for SSH and Putty
  • Next-generation authentication engine that supports Kerberos, NTLM, and SPNEGO
  • No schema changes to Active Directory required

We've used it on some machines here and it seems to work well.

http://www.likewise.com/products/likewise_open/

share|improve this answer
Does Likewise Open have a debian repository? This is important to us for managing security patches. – Brent Jun 10 '09 at 20:41
1  
It has an Ubuntu package: Package: likewise-open State: not installed Version: 4.1.2982-0ubuntu1 Priority: optional Section: net Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> – jay_dubya Jun 11 '09 at 1:09

I've used Likewise-Open, and found it to be buggy and not very reliable. Last year I switched to Centrify, both for Linux and for the Mac, and haven't had to mess with it much at all. I far prefer Centrify's conf file configuration to Likewise-Open's registry file configuration that requires manipulation with external tools.

http://www.centrify.com/express/free-active-directory-tools-for-linux-mac.asp

share|improve this answer

You should evaluate Radius. Configure the linux boxes to use pam-radius and install the MS radius plugin NPS. It will talk to AD. You can get an overview in the pdf eguide here: http://www.wikidsystems.com/learn-more/two-factor-authentication-white-papers (no reg). Just ignore the two-factor authentication bits.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.