My favorites | Sign in
Project Logo
                
Search
for
Updated Apr 22, 2009 by Alexey.Chebotar
Labels: Phase-Requirements, Phase-Deploy
RubyLDAP  

About Ruby/LDAP

Ruby/LDAP is an extension module for Ruby. It provides the interface to some common LDAP libraries (for example, OpenLDAP, Netscape SDK and Active Directory). The common API for application development is described in RFC1823 and most libraries comply with it. Ruby/LDAP supports those libraries.

Requirement

Download

    % svn export http://ruby-activeldap.googlecode.com/svn/ldap/trunk ruby-ldap-read-only

Building

extconf.rb will try to use the OpenLDAP 2 or Netscape SDK libraries and guess paths to some header files and libraries from the position of ldap.h. If you'd like to see the available options for extconf.rb, run it with '--help' option.

    % ruby extconf.rb [--with-openldap1|--with-openldap2|--with-netscape|--with-wldap32]
    % make

This will create ldap.so, which you can either manually copy into place or install with:

    % sudo make install

If you're building the software on Windows, you may need to use nmake instead of make.

Copyright


Sign in to add a comment
Hosted by Google Code