Accessing LDAP from Ruby

Sep 29, 2007

Ok, we've got our nifty Apache DS running with some custom data. This doesn't do much unless our application can access the data in order to perform some sort of logic. So let's connect the two worlds!

Make sure your Apache DS server is up and running. We first need to install a Ruby API for accessing LDAP. I found the simplest to use was ruby-net-ldap: