500 server error when trying to implement SSO/mod_auth_sspi

Moderator: crythias

Locked
smorris
Znuny newbie
Posts: 1
Joined: 29 May 2013, 20:32
Znuny Version: 3.1.11
Real Name: Seth Morris
Company: Goodwill Industries Intl, Inc.

500 server error when trying to implement SSO/mod_auth_sspi

Post by smorris »

My httpd.conf:
<Directory 'D:/PROGRA~1/OTRS/OTRS/bin/cgi-bin'>
SSPIAuth On
SSPIAuthoritative On
SSPIDomain dc.example.org
SSPIUsernameCase lower
SSPIOfferBasic On
Require valid-user
Options +ExecCGI -Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

my config.pm:
$Self->{'AuthModule'} = 'Kernel::System::Auth::HTTPBasicAuth';
$Self->{'AuthModule::HTTPBasicAuth::Replace'} = 'domain\\';

$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::HTTPBasicAuth';
$Self->{'Customer::AuthModule::HTTPBasicAuth::Replace'} = 'domain\\';

Error log:

[Wed May 29 15:47:12 2013] [error] [client 10.12.3.16] (OS 2)The system cannot find the file specified. : couldn't spawn child process: D:/Program Files (x86)/OTRS/OTRS/bin/cgi-bin/customer.pl

If I comment out "Require valid-user", I do not get the 500 error.

Windows Server 2008 R2, OTRS 3.1.11. Any Ideas? Thanks...
kcpr01
Znuny newbie
Posts: 5
Joined: 21 Jan 2013, 15:09
Znuny Version: 3.3.3

Re: 500 server error when trying to implement SSO/mod_auth_s

Post by kcpr01 »

hi smorris,

I had the same issue on our system. Go to 'D:/PROGRA~1/OTRS/OTRS/bin/cgi-bin' and open the customer.pl file with your editor. Do the following change in the first row:

-- #!/usr/bin/perl
++ #!perl

Best regards
Productiv: OTRS 3.3.3, ITSM 3.3.3
Testing: OTRS 3.3.5, ITSM 3.3.5
OS: Debian 7
Apache2/MySQL 5+
Locked