I've just been doing some manual sql queries to compare some data. From what I can tell, there are never more than 2 instances of the same software, meaning it's only listed as being installed on a system a max of twice.
Both records are being updated when an audit is performed.
The "latest" software record seems to be timestamped on the day I attempted to run a full domain audit, which was successful (well.. sorta
)
I've gone through my 2 configs again and unless I changed something and can't remember it the differences are as follows:
login script config -- located on primary domain controller
-----------------------------------
audit_location = "r"
audit_local_domain = "n"
strComputer = "."
domain audit config -- located on openaudit server
-----------------------------------
audit_location = "l"
audit_local_domain = "y"
strComputer = ""
What I may try doing is nuking the database and then running some tests of login vs domain audit. I have also added some code to the audit.vbs script so that it dumps the collected software name, uuid, version, timestamp and sql query into a log file when it fails to update the software record (thinks it needs to add a new software record.)