Review your favorite Linux distribution.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 10-29-2007, 07:09 PM   #1
LQ Newbie
Registered: Oct 2007
Posts: 13

Rep: Reputation: 0
Question Cannot configure Linux to authenticate against Active Directory

My company recently decided to use Microsoft Active Directory to streamline our authentication and computer management tasks. Of course, the Windows boxes all join the domain and are fine. The Mac boxes do as well. The only system that I am having issues with are the Linux servers. I have research AD authentication and domain memebership for linux systems for about two weeks now with no favorable results. I have read all about Windows SFU, NIS, Kerberos, LDAP, Samba, PAM, and more but the only thing I have accomplished is joining the machine to the domain.

I come from a strong Windows Desktop and Server background and am proficient in Linux enough to be dangerous. I am very proficient in Active Directory, but only as it relates to Windows. I have never tried joining other machines before.

Can someone give me, or point me in the right direction of, a guide that goes, step by step, how to configure Linux to authenticate the users through both console and SSH? I have tried everything I can think, and gone through so many vague "how-to's" that I believe I could write my own vague "how-to." I have tried through GNOME, KDE, and CLI on CentOS, RHEL4 & 5, and openSUSE.

From what I feel, I am following the directions correctly, but for the life of me cannot get this to work. I have read threads from this website, as well as plenty of others with no luck.

Can someone help me out?
Old 10-31-2007, 10:00 AM   #2
LQ Newbie
Registered: Oct 2007
Posts: 5

Rep: Reputation: 0
What kind of Linux distro are you working with?
Old 10-31-2007, 10:12 AM   #3
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,239
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Something like this ?
Single-Sign-On on Linux using LDAP with Active Directory

This article discusses how you can integrate Linux into a Windows-based network by making it authenticate against an Active Directory server and having it get passwd and group information from Active Directory as well.

It starts by giving a quick rundown on traditional authentication mechanisms in UNIX, then delves into the details of setting up NSS and PAM with Active Directory.

here is another article..

Last edited by farslayer; 10-31-2007 at 11:06 AM.
Old 10-31-2007, 10:40 AM   #4
LQ Newbie
Registered: Oct 2007
Posts: 13

Original Poster
Rep: Reputation: 0
linux_dude, I am working with RHEL4 & 5, CentOS 4.5 and the latest build of openSUSE.

farslayer, I will try that out. Thanks!
Old 11-01-2007, 11:56 AM   #5
LQ Newbie
Registered: Oct 2007
Posts: 13

Original Poster
Rep: Reputation: 0
OK, I got it working with winbind finally. Not sure what the problems were before. I just ran authconfig and select winbind for my user and auth info and it is working great.


active directory, authentication, domain, domain controller

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to authenticate or login a Linux user to an Active Directory? shsaifee Linux - Networking 3 11-25-2006 10:05 PM
apache authenticate to Active Directory zuessh Linux - Software 1 07-08-2005 03:29 PM
Linux box Authenticate against Active Directory tulip4heaven Linux - Networking 2 05-31-2005 12:31 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration