# User information through ldap

**URL:** <https://www.ruby-forum.com/t/user-information-through-ldap/127898>\
**Category:** Ruby\
**Created:** [February 2, 2008, 10:19am UTC](https://www.ruby-forum.com/t/user-information-through-ldap/127898 "2008-02-02T10:19:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [February 2, 2008, 10:19am UTC](https://www.ruby-forum.com/t/user-information-through-ldap/127898/1 "2008-02-02T10:19:47Z")

</div>

Hi,  
i wanna fetch the user information from ldap.If user is authenticated  
on the basis of there username and password then i wanna fetch more  
information from ldap server of that particular user can anyone help me  
out .  
Please tell me your suggestion.  
Thanks  
Varun G.

---

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [February 6, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/user-information-through-ldap/127898/2 "2008-02-06T21:12:22Z")

</div>

On Feb 2, 2008 2:19 AM, Varun G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

This library has worked well for me in the past. I’m not sure how  
active  
the development is right now but it works for basic tasks at least.

[http://rubyforge.org/projects/net-ldap/](http://rubyforge.org/projects/net-ldap/)

–  
“Hey brother Christian with your high and mighty errand, Your actions  
speak  
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)

---

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [February 6, 2008, 9:51pm UTC](https://www.ruby-forum.com/t/user-information-through-ldap/127898/3 "2008-02-06T21:51:59Z")

</div>

Net::LDAP doesn’t have a lot of active development right now because the  
library is stable and mature. It’s fully supported by the original  
developers (I’m one of them), and a lot of people are using it.

---

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [February 6, 2008, 10:10pm UTC](https://www.ruby-forum.com/t/user-information-through-ldap/127898/4 "2008-02-06T22:10:33Z")

</div>

If you’re using LDAP to use ActiveDirectory you can use  
ActiveDirectoryForRuby

[http://rha7dotcom.blogspot.com/2007/12/activedirectoryforruby-new-baby-gem.html](http://rha7dotcom.blogspot.com/2007/12/activedirectoryforruby-new-baby-gem.html)

I made this at one time when I needed to access MS AD’s info from ruby  
in linux.

Greetings,

Gabriel Medina.

On Wed, 6 Feb 2008 15:11:18 -0500, Glen H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
