I'm currently about to deploy OTRS to a new customer.
A prerequisite of this customer is, the user mustn't have to log in since he is already logged in Windows.
This means I have to set Single Sign On (SSO) for both OTRS portals (agent and customer interfaces).
Through SysConfig I modified Customer::AuthModule to "HTTPBasicAuth" (not LDAP).
And naturally I modified the settings in IIS thanks to this. (Basically, I enabled Windows authentication and disabled anonymous authentication.)
But I'm getting this error:
[Thu Jul 24 10:42:07 2014][Notice][Kernel::System::CustomerAuth::HTTPBasicAuth::Auth] User: No $ENV{REMOTE_USER} or $ENV{HTTP_REMOTE_USER} !(REMOTE_ADDR: 127.0.0.1).
I've read carefully the OTRS forum here and there, but most of you seem to use SSO with Apache or LDAP. I don't.
I've read many other pages on the web, tried several things, but REMOTE_USER is still missing.
To see the environment variables, I've added this code in HTTPBasicAuth.pm:
Code: Select all
foreach my $var (sort keys %ENV) {
$Self->{LogObject}->Log(
Priority => 'notice',
Message => $var . "=" . $ENV{$var},
);
}
What did I do wrong?
Am I missing anything in OTRS or in IIS?
Regards,
HervE