# Active Directory Ruby Scripting?

**URL:** https://rubytalk.org/t/active-directory-ruby-scripting/10514
**Category:** ruby-talk
**Created:** [11 March 2004 12:51 UTC](https://rubytalk.org/t/active-directory-ruby-scripting/10514 "2004-03-11T12:51:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Moran\_Craig\_M\_BAH](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@Moran\_Craig\_M\_BAH](https://rubytalk.org/u/Moran_Craig_M_BAH)
#### Post date: [11 March 2004 12:51 UTC](https://rubytalk.org/t/active-directory-ruby-scripting/10514/1 "2004-03-11T12:51:19Z")

</div>

Has anyone done any Active Directory scripting with Ruby? What I want to do  
seems very simple, but I’m at a loss at finding any good references. All I  
wish to do is read the contents of an Active Directory location into an  
array. Thanks in advance for the help.  
Craig

---

<div class="post-metadata">

### Author: ![Andre\_Nathan](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@Andre\_Nathan](https://rubytalk.org/u/Andre_Nathan)
#### Post date: [11 March 2004 12:56 UTC](https://rubytalk.org/t/active-directory-ruby-scripting/10514/2 "2004-03-11T12:56:01Z")

</div>

Isn’t Active Directory Microsoft’s name for LDAP? If it is, then  
ruby-ldap[1] will help you.

HTH,  
Andre

[1][http://ruby-ldap.sourceforge.net/](http://ruby-ldap.sourceforge.net/)

> **···**
>
> On Thu, 2004-03-11 at 09:51, Moran, Craig M (BAH) wrote:
> 
> > Has anyone done any Active Directory scripting with Ruby?
> 
> –  
> Our little systems have their day; They have their day and cease to be;  
> They are but broken lights of thee. – Tennyson

---

<div class="post-metadata">

### Author: ![Hatespyware](https://avatars.discourse-cdn.com/v4/letter/h/c37758/32.png) [@Hatespyware](https://rubytalk.org/u/Hatespyware)
#### Post date: [11 March 2004 19:59 UTC](https://rubytalk.org/t/active-directory-ruby-scripting/10514/3 "2004-03-11T19:59:38Z")

</div>

“Moran, Craig M (BAH)” [MoranCM@navair.navy.mil](mailto:MoranCM@navair.navy.mil) wrote in message news:[B9500E218FB4D2119DE30000F810BBBF0F1176CF@nems13.nawcad.navy.mil](mailto:B9500E218FB4D2119DE30000F810BBBF0F1176CF@nems13.nawcad.navy.mil)…

> Has anyone done any Active Directory scripting with Ruby? What I want to do  
> seems very simple, but I’m at a loss at finding any good references. All I  
> wish to do is read the contents of an Active Directory location into an  
> array. Thanks in advance for the help.  
> Craig

Using win32ole allows you to translate existing VBA/Perl scripts almost verbatim.
