module ActiveLdap::Operations::Delete

def delete_entry(dn, options={})

def delete_entry(dn, options={})
  options[:connection] ||= connection
  begin
    options[:connection].delete(dn, options)
  rescue Error
    format = _("Failed to delete LDAP entry: <%s>: %s")
    raise DeleteError.new(format % [dn.inspect, $!.message])
  end
end