Formula to set up and configure ldap authentication.