Menu

#2330 Bug in ldap-connexion-test.php – Incorrect include path in LDAP Data Collector v1.4

Extensions
closed
Xtophe38
None
Extension
High
3.2.1
defect
2025-07-16
2025-07-11
No

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

Discussion

  • Xtophe38

    Xtophe38 - 2025-07-16
    • status: new --> assigned
    • assigned_to: Xtophe38
     
  • Xtophe38

    Xtophe38 - 2025-07-16

    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

     
  • Xtophe38

    Xtophe38 - 2025-07-16
    • status: assigned --> closed
     
  • Xtophe38

    Xtophe38 - 2025-07-16
     

Log in to post a comment.

MongoDB Logo MongoDB