Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-03-2003, 01:09 PM   #1
LQ Newbie
Registered: Apr 2003
Distribution: RedHat 8, FreeBSD 4
Posts: 3

Rep: Reputation: 0
Question LDAP Authentication in RedHat

Hi, I have a RedHat 8 computer that I want to authenticate via LDAP.

I setup LDAP completely. I edited my /etc/pam.d/system-auth to be identical to nearly every other example I could find on the web. I edited /etc/nsswitch.conf to include 'ldap'

The thing is, I have a user "test" which is in my LDAP directory. I can 'getent passwd' which shows the user. When I telnet to the computer I can login as test fine. But, I can not su to test, or use ssh to login as test. I have not yet tried imap but at the very least the only thing that allows me to be user "test" is to telnet.

I have searched so many forums and so many Websites but I can't find anything. Please help me.

Thanks so much!
Old 04-04-2003, 07:56 AM   #2
LQ Newbie
Registered: Apr 2003
Distribution: RedHat 8, FreeBSD 4
Posts: 3

Original Poster
Rep: Reputation: 0
Here is my /etc/pam.d/system-auth if this helps.

# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required /lib/security/
auth sufficient /lib/security/ likeauth nullok
auth sufficient /lib/security/ use_first_pass
auth required /lib/security/

account required /lib/security/
account sufficient /lib/security/

password required /lib/security/ retry=3 type=
password sufficient /lib/security/ nullok use_authtok md5 shadow
password sufficient /lib/security/ use_authtok
password required /lib/security/

session required /lib/security/
session required /lib/security/
session optional /lib/security/


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
ldap authentication goestin Linux - Networking 2 12-27-2005 11:27 AM
Ldap Authentication joeyBig Programming 1 08-25-2004 10:00 AM
ldap authentication box_l Mandriva 0 03-22-2004 03:24 AM
LDAP authentication + Redhat Linux rockage2001 Linux - Networking 0 12-05-2003 02:45 AM
LDAP Authentication Staceman Linux - Software 0 07-31-2003 08:14 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:34 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