ruby-ldapserver is a lightweight, pure-Ruby skeleton for implementing LDAP server applications.
Brian Candler
k.A.