A somewhat working implementation of LDAP