PHP version: 8.0.27
LDAP support enabled
I downloaded LDAP Authentication and Lookup
I have tried updating ldap.conf to reflect "TLS_REQCERT allow"
The issue started after upgrading to 1.14.1 to 1.16.

The error that is showing in the log files is:

mod_fcgid: stderr: PHP Fatal error: Uncaught TypeError: ldap_first_entry(): Argument #2 ($result) must be of type resource, bool given in phar:///home/intranet/public_html/helpdesk/include/plugins/auth-ldap.phar/include/Net/LDAP2/Search.php:186

At this point I am perplexed. It was working with 1.14. Is there anything I can try?

    ctyler69

    Where did you download the plugin from? Also, please post a screenshot of Admin Panel > Dashboard > Information.

    Cheers.

      ctyler69

      Did you select the correct version of osTicket before selecting the plugin for download? Plugins these days are specific to the core version of osTicket. So on the Plugin download page make sure you select osTicket-v1.16.5 first.

      Cheers.

        ctyler69

        Okay, can you post a screenshot of the plugin config? Censor any sensitive info before posting.

        Cheers.

          ctyler69

          Also, did you make sure you installed and enabled the php-ldap extension for PHP 8.0?

          Cheers.

          KevinTheJedi
          Here it is:

          If I select save as is I get a 5oo error shown above. If I deselect the "Use TLS to communicate with the LDAP server." it saves without issue but the authentication does not work.

          I do have ldap enabled

          Also keep in mind the plugin settings were working earlier in the day

            ctyler69

            Do you see any connection attempt failures in the logs on the LDAP server? Any other related errors?

            Cheers.

              KevinTheJedi
              Also, I am seeing some videos that are using 0.6.3. The one I am getting from the download page is 0.6.2. Is that expected?

                KevinTheJedi
                I am not seeing any login failures. I think I may create some new webspace and do a complete fresh install to see if I can get that to work. Do you think something could have went sideways during the update?

                  KevinTheJedi
                  Thank you so much for your help this evening. I really appreciate. If you think of anything else I could try in the meantime, please let me know.

                  ctyler69

                  Potentially, but doubt it. The only time it doesn't work is when using TLS right? Otherwise it works fine?

                  Cheers.

                    KevinTheJedi
                    That's correct. I think it might be import to note I do have some applications on that server that use LDAP/AD authentication that are working without issue.

                    Also, one of the main reason I upgraded was the email fetching was not working. I was getting a weird issue where:

                    1. Email was sent to the support email
                    2. Email was generated and sent out that a new ticket was generated. This email also included the ticket number.
                    3. When visiting the Agent panel no ticket with the previous information was found. Not even in the tickets table.

                    Like the tickets were not generated or they were and immediately deleted.

                    Weird, right?
                    Now, updated did fix the tickets generated via email but now this auth issue.