Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The question is not clear. Do you want to login to a machine running an LDAP server? If so, follow xeleema's advice. Or, do you want to set up an LDAP server as an authentication source for Linux and Windows machines? The latter is a much more in-depth question and will require you to do some reading on OpenLDAP and SAMBA (for Windows auth).
Alright. Here is what the log file says, but I can't find the log file /var/adm/messages . It is not logging in /var/log/messages. I got this from /var/log/secure
Nov 25 16:24:00 xxx sudo: PAM unable to resolve symbol: pam_sm_open_session
Nov 25 16:24:00 xxx sudo: PAM unable to resolve symbol: pam_sm_close_session
Nov 25 16:24:02 xxx sshd: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=client user=max
Nov 25 16:24:02 xxx sshd: Accepted password for max from client port 56345 ssh2
Nov 25 16:24:02 xxx sshd: pam_unix(sshd:session): session opened for user max by (uid=0)
Nov 25 16:24:02 xxx sshd: Received disconnect from client: 11: disconnected by user
Nov 25 16:24:02 xxx sshd: pam_unix(sshd:session): session closed for user max
I think you're using RHEL. Did you check LDAP server's /etc/ssh/sshd_config file, whether it accepts ssh connections or not?
In this file find DenyUsers and AllowedUsers entries, and check if your username i.e. giffen is there against DenyUsers.
Also check /etc/hosts.deny file, if your local hostname or IP is mentioned there.