read ldap conf from env variable