made start in adding ldap support