I am having problems with the mod_auth_sspi.so.
I have installed it properlly and
added the following in httpd.conf
file
<Directory "c:/phpweb">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
SSPI authentication
AuthName "My secure area"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
require valid-user
</Directory>
Apache starts fine without errors and I think the module is working becuase when I get a directory listing I get the message "Apache/2.0.45 (Win32) mod_auth_sspi/1.0.0 Server at localhost Port 8080" at the bottom. And also when I try to access the site usinf Netscape I get prompted for a pssword and when I enter my NT credentials I can access the site.
But I am having problems retrieving the user information in my code
I have tried the following with no results:
$SERVER["AUTH_USER"];
$SERVER["AUTH_TYPE"];
$_SERVER["LOGON_USER"];
My configuration:
Apache 2
Windows 2000 professional
php-4.3.1