Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-02-2003, 12:25 PM   #1
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?



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 11:55 PM
pam ldap limit authentication hassan2 SUSE / openSUSE 0 08-01-2005 07:03 PM
PAM - Winbind/LDAP Problems. tacoking Linux - Security 0 09-16-2004 08:36 AM
Squid PAM authentication and LDAP redmat Linux - Newbie 1 09-03-2004 08:22 PM
Samba, PAM and LDAP Linh Linux - Networking 0 05-09-2003 11:07 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:41 AM.

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