- Edited
Hi All,
I seem to have one specific user who is no longer able to log into OSTicket.
We switched login system from manually entered credentials authenticated from Active directory by the LDAP plugin to to using IIS authentication pass through using the passthrough plugin, I'm not sure if this is related, possibly not.
This specific user is able to see the main landing page but clicking the Sign In link which would automatically sign in using IIS passthrough authentication just results in an HTTP 500 Server error from login.php.
I've looked at the IIS logs and there's nothing of particular interest - it just confirms that the users browser (Chrome or Edge) is responding to the initial 401 challenge correctly by providing AD credentials on the following request, but the server returns the HTTP 500 error for login.php even with the correct credentials provided.
I have system logs set to Debug in OSTicket, but there are no log entries for this user trying to log in (there are for other users) so it seems login.php is crashing before anything gets logged in the OSTicket log.
So I have no useful log events to go on. What I've also noticed which makes me think it's unrelated to the switch in authentication method is that if I as an Agent/Admin (my login has both roles) try to click on the user in the User Directory page, I also get an HTTP 500 Server error instead of viewing their past tickets. I don't get an error for any other user's profile.
I can however go into my normal ticket view and see their tickets, so the tickets all seem to be intact.
It almost seems like their user profile on OSTicket has become corrupted somehow. So does anyone have any thoughts on how I might fix this ?
This particular user has a lot of open tickets which I can't afford to lose - if I delete the user and choose not to delete their tickets, when they try to log in next and get auto-created, will a "new" user with the same email address and login automatically reconnect to the existing tickets or would they remain orphaned ?
I tried to test this with a dummy account with one ticket open however I found that when I tried to remove that user without removing the tickets I got an error message and was only able to delete the user if I chose to delete their tickets as well, which isn't what I want to do.
Is there anything I can check for in the users database tables that might be causing it to crash ?
I'm running version v1.16.3 (e148727) on IIS 10 on Windows Server 2019 with MariaDB 10.6.7 and PHP 8.0.18.