Parameter SEARCH_BASE added to allow setting the base DN for LDAP search