Hello,
In version 1.4 of the LDAP Data Collector extension for iTop, the script ldap-connexion-test.php fails due to an incorrect path in the require_once statement on line 8.
Currently, the code is:
require_once(APPROOT.'collectors/LDAPSearchService.class.inc.php');
However, in version 1.4, the file LDAPSearchService.class.inc.php was moved to the src/ subdirectory, so the correct path should be:
require_once(APPROOT.'collectors/src/LDAPSearchService.class.inc.php');
This causes a PHP Fatal error when trying to run the script, as the file cannot be found.
Thank you in advance for fixing this in a future release.
Best regards,
Cristian Ozán
Hello,
Thanks for the info ! The 4 php scripts in the collectors/bin directory have been corrected and the GitHub repo has been updated.
Correction will, of course, be part of the next release of the collector.
Cheers,
Christophe