Hello,
If I enable the LDAP plugin and attempt to log in using an agent username and password, I get an error in the browser and osTicket creates the following error in the PHP log:
The error I get in Chrome is:
The agent is set up with LDAP authentication in their user profile, and I believe the LDAP settings in the plugin configuration are correct. I've tested the LDAP user defined in the Search User field in the plugin configuration and they can connect and search the LDAP database without problems when using the LDAP search tool provided with the LDAP package.
My osTicket version is as follows:
This was also a problem when using PHP 5.6.22. Any ideas?
Thanks.
If I enable the LDAP plugin and attempt to log in using an agent username and password, I get an error in the browser and osTicket creates the following error in the PHP log:
[10-Feb-2017 07:23:51 UTC] PHP Fatal error: Uncaught Error: Call to a member function bind() on null in phar:///var/www/root/support/include/plugins/auth-ldap.phar/authentication.php:220
Stack trace:
#0 phar:///var/www/root/support/include/plugins/auth-ldap.phar/authentication.php(427): LDAPAuthentication->authenticate('testuser', 'testpassword')
#1 /var/www/root/support/include/class.auth.php(235): StaffLDAPAuthentication->authenticate('testuser', 'testpassword')
#2 /var/www/root/support/scp/login.php(47): AuthenticationBackend::process('testuser', 'testpassword', Array)
#3 {main}
thrown in phar:///var/www/root/support/include/plugins/auth-ldap.phar/authentication.php on line 220
Stack trace:
#0 phar:///var/www/root/support/include/plugins/auth-ldap.phar/authentication.php(427): LDAPAuthentication->authenticate('testuser', 'testpassword')
#1 /var/www/root/support/include/class.auth.php(235): StaffLDAPAuthentication->authenticate('testuser', 'testpassword')
#2 /var/www/root/support/scp/login.php(47): AuthenticationBackend::process('testuser', 'testpassword', Array)
#3 {main}
thrown in phar:///var/www/root/support/include/plugins/auth-ldap.phar/authentication.php on line 220
The error I get in Chrome is:
The <website> page isn’t working
<website> is currently unable to handle this request.
HTTP ERROR 500
<website> is currently unable to handle this request.
HTTP ERROR 500
The agent is set up with LDAP authentication in their user profile, and I believe the LDAP settings in the plugin configuration are correct. I've tested the LDAP user defined in the Search User field in the plugin configuration and they can connect and search the LDAP database without problems when using the LDAP search tool provided with the LDAP package.
My osTicket version is as follows:
osTicket Version v1.10
Web Server Software Apache/2.4
MySQL Version 10.1.14
PHP Version 7.0.14
LDAP plugin version v0.6.3
Web Server Software Apache/2.4
MySQL Version 10.1.14
PHP Version 7.0.14
LDAP plugin version v0.6.3
This was also a problem when using PHP 5.6.22. Any ideas?
Thanks.