Added draft of support for LDAP