[task] made ldap configurable