/**
* Constructor.
*
* @throws Ingo_Exception
*/
public function __construct(array $params = array())
{
if (!Horde_Util::extensionExists('ldap')) {
throw new Ingo_Exception(_("LDAP support is required but the LDAP module is not available or not loaded."));
}
$default_params = array('hostspec' => 'localhost', 'port' => 389, 'script_attribute' => 'mailSieveRuleSource');
parent::__construct(array_merge($default_params, $params));
}