Install: `gem install fakeldap` Only supports bind operations for now. Have a look at [server_spec.rb](http://github.com/aanand/fakeldap/blob/master/spec/server_spec.rb) for usage.