LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 04-03-2003, 01:09 PM   #1
drgn65
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
drgn65
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.

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required /lib/security/pam_env.so
auth sufficient /lib/security/pam_unix.so likeauth nullok
auth sufficient /lib/security/pam_ldap.so use_first_pass
auth required /lib/security/pam_deny.so

account required /lib/security/pam_unix.so
account sufficient /lib/security/pam_ldap.so

password required /lib/security/pam_cracklib.so retry=3 type=
password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow
password sufficient /lib/security/pam_ldap.so use_authtok
password required /lib/security/pam_deny.so

session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
session optional /lib/security/pam_ldap.so
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 11:05 PM.

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