osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
Problems with passthru plugin once user is authenticated
OSTicket version : 1.9.13
PHP 5.4.16 (cli) (built: Nov 6 2016 00:29:02)
Server version: Apache/2.4.6 (CentOS)
CentOS Linux release 7.3.1611 (Core)
I have installed the phar passthru file and enable it (only staff users). We are using Office365 AD to authenticate users, and get the REMOTE_USER value via SAML mod_mellon Apache module. Everything seems, actually I can print the REMOTE_USER and username value returned using this code:
$usernameATdomain = $_SERVER['REMOTE_USER'];
$ATposition = strpos($usernameATdomain,"@");
$username = substr($usernameATdomain, 0, $ATposition);
echo( $_SERVER[ REMOTE_USER ] );
So the REMOTE_USER is printed as username@domain, and $username is username value.
I created several agents with Username fields the same as the one printed in REMOTE_USER. However scp login.php / index.php / tickets.php still is asking me for password?
What should I check?
Should I install ldap plugin even if I am not using ldap/AD?
IMHO seems that I am missing the connection between OSTicket and passthru plugin... I can't see if passthru is working.
Thanks in advance.