ruby-ldapserver is a lightweight, pure-Ruby skeleton for implementing LDAP server applications.
Brian Candler
gem "ruby-ldapserver", "~> 0.3.1"