osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
V1.10-rc3 LDAP Authentication and Lookup
I know this has been seen before, but the LDAP Authentication and Lookup plugin is broken due to php5 security update.
I'm trying to set it up to authenticate to our Active Directory
This results in a error 500 page.
The first problem was this error in the log files:
Access level to Net_LDAP2_Schema::__construct() must be public (as in class PEAR) in phar:///<path to osticket install>/include/plugins/auth-ldap.phar/include/Net/LDAP2/Entry.php on line 0
I extracted the files from the phar, found the entries for __construct and made the 'protected' to be 'public'
I repacked the phar and tried to setup.
This is the error that is shown in the logs now:
PHP Fatal error: Call to undefined method Net_LDAP2::PEAR()
The error 500 page also shows up, along with the undefined method error above when trying to save the configuration of the plugin.
Local account authentication still works.
It would be nice to have this plugin updated to reflect the new security of php5.