I am trying to set up seamless authentication on windows for my intranet site, using SSPI on Apache 2.2 and windows 2008 server. I have installed mod_auth_sspi.so in apache/bin. I have also added the webpage url to the intranet zone in IE and Firefox. I am using Perl and CGI.pm for my site and retrieving the username using the CGI Env variable Remote_User and Auth_User. Neither of these are set and nor does the authentication seem to be happening as
I do not get a pop-up window in both IE or Firefox or any local html file i tested with.
My config on httpd.conf is as follows.
<IfModule !mod_auth_sspi.c> LoadModule sspi_auth_module modules/mod_auth_sspi.so </IfModule> <Location "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/TestWeb/"> Options FollowSymLinks Order allow,deny Allow from all AuthName "TestWeb" AuthType SSPI SSPIAuth On SSPIAuthoritative On SSPIOfferBasic on Require valid-user SSPIDomain domain </Location>
I am not sure if my domain name is the issue here. My corporate domain is in the format corp.company.com I used that and he ip associated with it with no luck. I retrieved my domain name by issuing the NET VIEW /DOMAIN on my windows server and it listed my corp domain, which is what i would like to authenticate the users with.