Basic LDAP functionality implmented