-
Notifications
You must be signed in to change notification settings - Fork 171
Description
@JediKev
as you suggested I openend a new thread for my issue.
I reinstalled osTicket downloaded form the main site with the LDAP and HTTP Passthru Authentication plugins.
Just in the LDAP new instance therre are a problem with the server row.
It is onny allowed to save it if is in the format ldaps://myserver, if i try to wite it as myserver:636 there are problems
With the format ldaps://myserver I was able to save the configuration, and I was able to search users from my remote directory.
If I try to use my remote user to login into the system, it does not work, and I found this message in the Apache error.log
[Sat Aug 05 11:44:30.344523 2023] [php:error] [pid 1329] [client 194.119.211.197:21359] PHP Fatal error: Uncaught TypeError: ldap_free_result(): Argument #1 ($result) must be of type LDAP\Result, bool given in phar:///var/www/html/include/plugins/auth-ldap.phar/include/Net/LDAP2/Search.php:501\nStack trace:\n#0 phar:///var/www/html/include/plugins/auth-ldap.phar/include/Net/LDAP2/Search.php(501): ldap_free_result()\n#1 /var/www/html/include/pear/PEAR.php(755): Net_LDAP2_Search->_Net_LDAP2_Search()\n#2 [internal function]: _PEAR_call_destructors()\n#3 {main}\n thrown in phar:///var/www/html/include/plugins/auth-ldap.phar/include/Net/LDAP2/Search.php on line 501, referer: http://servicesarea.irib.cnr.it/login.php