HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   PAM LDAP SSH not authenticating users everytime. (http://www.howtoforge.com/forums/showthread.php?t=61926)

shriram 22nd May 2013 15:43

PAM LDAP SSH not authenticating users everytime.
 
I am trying LDAP authentication for users logged by PAM. Also I have disabled(off) nsslapd-anonymous-access flag to restrict anonymous access by providing the binddn and bindpw.
I have changed binddn and bindpw in /etc/ldap.conf for PAM to bind with LDAP to authenticate user.
ie) When a user is trying to ssh pam will be communicated to bind with LDAP by reading /etc/ldap.conf to bind with LDAP to authenticate the corresponding user.
User authentication is not working every time. ie)some time the user is authenticated and sometimes the user is not authenticated.
i have verified the tools 389 FDS, nscd ,sshd, are properly running.
I have tried by doing ldapsearch for the corresponding user. The result shows the user properly.

Thanks
Shriram.


All times are GMT +2. The time now is 23:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.