The search function doesn't search for shares. e.g trigger is a share on SEIZEWELL. The output of smbtaquery is: #smbtaquery -M pgsql -N smbtad -S holger -H seizewell -I 0 -d10 -q "global, search trigger;" SQL-QUERY: select distinct filename, share, domain from write where filename LIKE 'trigger' and 1=1 and 1=1 and 1=1; SQL-QUERY: select distinct username, domain from write where username LIKE 'trigger' and 1=1 and 1=1 and 1=1; SQL-QUERY: select distinct usersid, username, domain from write where usersid LIKE 'trigger' and 1=1 and 1=1 and 1=1; SQL-QUERY: select distinct domain from write where domain LIKE 'trigger' and 1=1 and 1=1 and 1=1; <?xml version="1.0" encoding="UTF-8"?> Fuzzy search for 'trigger' globally. at 2011-06-15 13:38:09 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ SMB Traffic Analyzer 1.2.3-devel, 2011-06-15 13:38:09
Now that the new database format is in place, the search function is much easier to implement and we will create a new implementation for it.
I'll have a look at this. Could you assign it to me, please.
Fixed with commit 1774715196abee141aec57995f8509541403c9cf Author: Benjamin Brunner <bbrunner@suse.de> Date: Tue Jul 5 16:08:02 2011 +0200 Converted search function to 1.2.6