Make fix patch to use parameters active directory and ldap search