Hello there,
i seems to have a problem with the LDAP audits.
- I setup LDAP both Security and LDAP/SMTP- tested, all good.
- I setup share with audit.vbs accessible to everyone- tested, all good
- I setup configuration:
> Computer Audit
> Domain
> Windows
where i tested LDAP and got back results (Computers names within the domain). Previously i've setup a Domain GPO to run the audit.vbs on user login and it works fine. I get all the data. The problem is, that when i run the LDAP configuration, im not getting anything. The job ends in 5 seconds. In log file i see following msg:
PHP Notice: Undefined variable: ip_end in /var/www/html/scs/audit_configuration.php on line 277, referer: http://<IP>/scs/audit_manage.php
PHP Notice: Undefined variable: linux_software in /var/www/html/scs/audit_configuration.php on line 365, referer: http://<IP>/scs/audit_manage.php
If i run the audit.vbs from server share on any PC, getting msg, pointing to a specific command in audit.vbs
"Set objRecordSet = objCommand.Execute"see attachment. Here is the settings from audit.vbs. That is the only thing i set in this script:
this_config_url = "%host_url%"
if (left(this_config_url,1) = "%") then
this_config_url = "http://<OA IP>/scs/list_export_config.php"
end if
Please let me know what can be the cause of this. Perhaps there is another script for domain audit..?
Thank you.
Ivan