# LDAP from ruby

**URL:** <https://www.ruby-forum.com/t/ldap-from-ruby/66278>\
**Category:** Ruby\
**Created:** [December 15, 2005, 4:21pm UTC](https://www.ruby-forum.com/t/ldap-from-ruby/66278 "2005-12-15T16:21:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Arnal\_Puente](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Pedro\_Arnal\_Puente](https://www.ruby-forum.com/u/Pedro_Arnal_Puente)\
**Post date:** [December 15, 2005, 4:21pm UTC](https://www.ruby-forum.com/t/ldap-from-ruby/66278/1 "2005-12-15T16:21:15Z")

</div>

Hello

I have a little program that needs to run on windows, linux and AIX.

It reads some data files or receives data packets, makes some  
validations talking to an LDAP server, and loads the massaged data in  
a database.

The problem I find is the LDAP access from Ruby in the windows platform.

Anbody uses ruby-ldap in a windows environment? and in AIX?

I wonder if I should just use jRuby and call LDAP via Java JNDI…

Many thanks!!!

–  
Saludos mercenarios…

…por la destruccion de todo lo que es.

---

<div class="post-metadata">

**Author:** ![Pedro\_Arnal\_Puente](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Pedro\_Arnal\_Puente](https://www.ruby-forum.com/u/Pedro_Arnal_Puente)\
**Post date:** [December 15, 2005, 4:39pm UTC](https://www.ruby-forum.com/t/ldap-from-ruby/66278/2 "2005-12-15T16:39:21Z")

</div>

Pedro Arnal Puente wrote:

> –  
> Saludos mercenarios…
> 
> …por la destruccion de todo lo que es.

Personally I ran into problems getting Ruby’s LDAP package to compile  
in my Win32 environment. I tried using MSVC, Borland, etc. to no avail.  
So I abandoned trying at the point of getting myself tangled up in all  
of the extconf/mkmf stuff that was over my head.

Perhaps there are others who have succeeded in this area. If so I’d  
love to hear from them 🙂

---

<div class="post-metadata">

**Author:** ![Pedro\_Arnal\_Puente](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Pedro\_Arnal\_Puente](https://www.ruby-forum.com/u/Pedro_Arnal_Puente)\
**Post date:** [December 16, 2005, 4:18am UTC](https://www.ruby-forum.com/t/ldap-from-ruby/66278/3 "2005-12-16T04:18:01Z")

</div>

I’ve had no trouble with ruby, openldap libs and gcc from cygwin.  
Vance
