Java-ldap-util is a project mainly written in ..., it's free.
Java helper classes and command-line utilities for testing LDAP queries.
TODO