Legacy code for connection mule to ldap (do not use, its not maintained)