I have the same situation as the first post.
OsTicket 16.1, Apache 2.4.37, Maria DB 10.3.28, php 8.0.17 LDAP plugin v0.62 dowloaded from os Ticket web site.Open php-ldap is installed and enabled
So the situation is identical so I checked couple of things:
this php code runs successfully either from Apache either from command line:
<?php
$ldap_dn = "uid=user,ou=Apps,o=bab.at.int";
$ldap_password="*******";
$ldap_con = ldap_connect("ldap://ldap.bab.at.int:11389");
ldap_set_option($ldap_con, LDAP_OPT_PROTOCOL_VERSION, 3);
if(@ldap_bind($ldap_con,$ldap_dn,$ldap_password))
echo "done";
else
echo "no!";
?>
and with with tcpdump I got following
tcpdump port 11389 -v -i ens32 -w /var/www/capture.log
dropped privs to tcpdump
tcpdump: listening on ens32, link-type EN10MB (Ethernet), capture size 262144 bytes
13 packets captured
14 packets received by filter
0 packets dropped by kernel
But if I try to capture while saving osTicket LDAP plugin, no packets are captured, that means plugin gets error without even trying to send any packet outside to LDAP server.
Interestingly I can have access to very old osTicket installation 1.9.7 with LDAP plugin 0.6.2 apache 2.4.6 php 5.4.16 and putting the same settings into it - everything works.
So probably there are some issues in LDAP plug-in itself in combination with 1.16.1 OsTicked version and Php 8.0.