Hi everyone,
I've just updated osticket to version 1.17.2 and PHP 8.1 and i have issues with LDAP.
Staff authentication works fine, but user autenthication no (Staff is a user of LDAP)
Every time I try to enter with an user in LDAP, osticket give me error 500 with this message:
PHP Fatal error: Uncaught Error: Call to a member function dn() on bool in phar:///var/www/html/osTicket/include/plugins/auth-ldap.phar/authentication.php:390
Stack trace:
#0 phar:///var/www/html/osTicket/include/plugins/auth-ldap.phar/authentication.php(225): LDAPAuthentication->lookupAndSync()
#1 phar:///var/www/html/osTicket/include/plugins/auth-ldap.phar/authentication.php(479): LDAPAuthentication->authenticate()
#2 /var/www/html/osTicket/include/class.auth.php(341): ClientLDAPAuthentication->authenticate()
#3 /var/www/html/osTicket/login.php(51): AuthenticationBackend::process()
#4 {main}
thrown in phar:///var/www/html/osTicket/include/plugins/auth-ldap.phar/authentication.php on line 390
[15-Aug-2023 08:38:24 UTC] PHP Fatal error: Uncaught Error: Call to a member function dn() on bool in phar:///var/www/html/osTicket/include/plugins/auth-ldap.phar/authentication.php:390