Bug #545
closed
warden-server-2.1: klient neprojde autentizaci i kdyz je zaregistrovan jako analyticky (_any_) ale pozaduje konkretni type
Added by Tomáš Plesník about 12 years ago.
Updated about 12 years ago.
Description
Pokud klient pozaduje po serveru udalosti konkretniho typu, tak mu server stejne nic neposle pokud neni zaregistrovan pro tento konkretni typ i kdyz je zaregistrovan jako analyticky (typ udalosti ma nastaven na '_any_')
Vyreseno pomoci zmeny SQL dotazu z:
SELECT hostname, ip_net_client, receive_own_events FROM clients WHERE hostname IN ($alt_names) AND type = ? AND client_type = ? ORDER BY SUBSTRING_INDEX(ip_net_client,'/', -1) DESC;"
na
SELECT hostname, ip_net_client, receive_own_events FROM clients WHERE hostname IN ($alt_names) AND (type = ? OR type = '_any_') AND client_type = ? ORDER BY SUBSTRING_INDEX(ip_net_client,'/', -1) DESC;"
- Status changed from New to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF