# Authentication using PAM

**URL:** <https://www.ruby-forum.com/t/authentication-using-pam/122854>\
**Category:** Ruby\
**Created:** [December 12, 2007, 6:53pm UTC](https://www.ruby-forum.com/t/authentication-using-pam/122854 "2007-12-12T18:53:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guilherme\_Viana\_CSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/779978/32.png) [@Guilherme\_Viana\_CSS](https://www.ruby-forum.com/u/Guilherme_Viana_CSS)\
**Post date:** [December 12, 2007, 6:53pm UTC](https://www.ruby-forum.com/t/authentication-using-pam/122854/1 "2007-12-12T18:53:28Z")

</div>

Hello all,

I’ve been trying to use the Ruby/PAM library to authenticate users but I  
still couldn’t get it working. It looks like Ruby/PAM is not updated  
(according to the readme file, the last time it was tested, kernel  
version  
was still 2.4 and ruby version was 1.6).

I would like to know if anyone knows how can I validate users passwords,  
which are stored in ldap. The idea was to use PAM, but any suggestions  
are  
welcome.

Further details:  
-\> It will be used on a website (using ruby on rails)  
-\> OS: FreeBSD 6.2 or Gentoo

Thanks!

[]'s
