I have installed the sspi module, enabled it and it works great, however only if Basic authentification is enabled. I am aiming at providing automatic login based on the already logged in user in Windows.
Below is a sample of the httpd.conf file where I have setup my VirtualHost, for which I need the windows authentification.
<VirtualHostvhtest.local:80>
DocumentRoot "C:\xampp\htdocs\vhtest"
ServerName vhtest.local
KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 15
CustomLog "C:\xampp\logs\example.local.access.log" combined
ErrorLog "C:\xampp\logs\example.local.error.log"
<Directory"C:\xampp\htdocs\vhtest">
AllowOverride None
Options None
Order allow,deny
Allow from all
AuthName "VHTest"
AuthType SSPI
SSPIAuth On
SSPIPerRequestAuth On
SSPIPackage NTLM
SSPIAuthoritative On
SSPIOfferBasic On
SSPIBasicPreferred Off
require valid-user
</Directory></VirtualHost>
I expected the following setup to use automatic authentification, however I am presented with the login box. If I turn SSPIOfferBasic to Off, I get an error that the browser supplied the wrong credentials. I am using IE8, and I am running the latest version of xampp. The security settings for intranet sites (like the one I am using) are set to low, and the option for the browser to automatically provide the login credentials is enabled. Am I doing something wrong, is automatic login possible in this scenario?
Thanks a lot in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here a few suggestions:
- remove the specification of the SSPI package
- add SSPIDomain
- increase apache verbosity with the LogLevel directive and check what happens in your error.log
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have installed the sspi module, enabled it and it works great, however only if Basic authentification is enabled. I am aiming at providing automatic login based on the already logged in user in Windows.
Below is a sample of the httpd.conf file where I have setup my VirtualHost, for which I need the windows authentification.
I expected the following setup to use automatic authentification, however I am presented with the login box. If I turn SSPIOfferBasic to Off, I get an error that the browser supplied the wrong credentials. I am using IE8, and I am running the latest version of xampp. The security settings for intranet sites (like the one I am using) are set to low, and the option for the browser to automatically provide the login credentials is enabled. Am I doing something wrong, is automatic login possible in this scenario?
Thanks a lot in advance!
Here a few suggestions:
- remove the specification of the SSPI package
- add SSPIDomain
- increase apache verbosity with the LogLevel directive and check what happens in your error.log