philbertphotos / osticket-multildap-auth-plugin

Plugin for OS Ticket that allows for authentication with multiple domains.
GNU General Public License v3.0
28 stars 17 forks source link

PHP Fatal error: Call to a member function checkGroup() #23

Closed tpsretard closed 3 years ago

tpsretard commented 5 years ago

Hello i have just tied to get this plug in working. I have setup everything and when i try to login with an AD User i get a HTTP ERROR 500

In the logs i have the below error

PHP Fatal error: Call to a member function checkGroup() on null in /var/www/html/osTicket/include/plugins/multi-ldap/auth.php on line 596, referer: http://192.168.129.205/osTicket/scp/login.php

it would seem there is nothing to reinitialize the variable $ldap in the function authOrCreate And i have no idea how to add it.

philbertphotos commented 5 years ago

Looking into this.

tpsretard commented 5 years ago

i did some work on it. check out my changes.

philbertphotos commented 3 years ago

Fixed.