moved ldap stuff to new module