# Authentication using PAM

**URL:** <https://rubytalk.org/t/authentication-using-pam/42922>\
**Category:** ruby-talk\
**Created:** [11 December 2007 15:52 UTC](https://rubytalk.org/t/authentication-using-pam/42922 "2007-12-11T15:52:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guilherme\_Viana\_C\_Am](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@Guilherme\_Viana\_C\_Am](https://rubytalk.org/u/Guilherme_Viana_C_Am)\
**Post date:** [11 December 2007 15:52 UTC](https://rubytalk.org/t/authentication-using-pam/42922/1 "2007-12-11T15:52:52Z")

</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

> **···**
>
> --  
> Guilherme Viana C. Amorim
