LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-02-2003, 11:25 AM   #1
Staceman
LQ Newbie
 
Registered: Apr 2002
Location: Everett, PA
Distribution: Mandrake 8.2, Debian 3.0
Posts: 20

Rep: Reputation: 0
PAM and LDAP, can't login locally


I'm having a problem with PAM authentication and LDAP, on a machine running Mandrake 9.1.

The server that this machine will be replacing, is running RedHat 6.1, and authenticates with our LDAP server just fine.

On the new machine, I made sure I had all the same pam modules installed, and set up the files in pam.d as they were on the old server. Things seemed to be working, but I can't login locally, I can only login through ssh.

The error that shows up on the machine's logs is this:

PAM pam_parse: expecting return value; [...sufficient]
FAILED LOGIN SESSION FROM (null) FOR root Permission Denied

Initially, there were a lot of files in /etc/pam.d, and I eliminated all of them except for the same ones that were on the old server. However, I notice that one called "system-auth" keeps popping back up after a reboot. So, I assume that that particular file is essential on newer systems, and thus, I would imagine the problem lies in that file.

So, I need to know, how can I set up the system-auth file to work with LDAP?

Also, on a related, but yet different note, how can I make it so that root authenticates locally, but all other users authenticate through LDAP?

Thanks,
Stace
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
pam + ldap client paul_mat Linux - Networking 0 10-25-2005 10:55 PM
pam ldap limit authentication hassan2 Suse/Novell 0 08-01-2005 06:03 PM
PAM - Winbind/LDAP Problems. tacoking Linux - Security 0 09-16-2004 07:36 AM
Squid PAM authentication and LDAP redmat Linux - Newbie 1 09-03-2004 07:22 PM
Samba, PAM and LDAP Linh Linux - Networking 0 05-09-2003 10:07 AM


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