Different approaches to setup ldap client