LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   PAM or ldap, which will be best for my needs? (https://www.linuxquestions.org/questions/linux-security-4/pam-or-ldap-which-will-be-best-for-my-needs-769831/)

DaijoubuKun 11-17-2009 10:32 PM

PAM or ldap, which will be best for my needs?
 
Recently I was put in charge of 14 Slackware Linux servers. Luckily it's just making sure they are running and patched. Well I wanted to create a user management system so that each of the users that log into these machines will never have to remember what password goes to what box. Fox example, they can log into one box change their password then log into another and use that new password. Something similar to what Active Directory does (at least that's what I have been told it does). Now I know ldap is good at working with AD, but I'm not using AD and I was told that when the boxes communicate it's over an unencrypted connection (with ldap). It was suggested to me to use PAM because it does what I want and will encrypt the traffic. Is this information correct? What suggestions can be offered oh how I might go about this. Thank you.

edit:
I should note that at this time the only way anyone can login to the servers is to by physically in front of them or SSH.

chrism01 11-18-2009 02:21 AM

OpenLDAP+TLS
http://www.linuxhomenetworking.com/w...DAP_and_RADIUS (you can ignore the RADIUS section).

Jim Bengtson 11-18-2009 08:20 AM

LDAP authentication using pam_ldap and nss_ldap
http://www.faqs.org/docs/Linux-HOWTO...TO.html#PAMNSS

DaijoubuKun 11-18-2009 05:53 PM

Thanks for the links. Good to know I can just use ldap for my needs. That will be helpful in the future as the company says they want to also start using windows servers and I know ldap and AD can work together. Thanks again. Hopefully this will get me headed in the right direction.

sundialsvcs 11-22-2009 03:23 PM

To clarify: PAM is a standard low-level architecture for implementing security modules... one of which can be "a module that queries LDAP to get its answers."


All times are GMT -5. The time now is 05:14 AM.