Menu

Automatic Authentification Problem (IE8)

Help
Anonymous
2012-04-03
2013-05-01
  • Anonymous

    Anonymous - 2012-04-03

    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.

    <VirtualHost vhtest.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!

     
  • Ennio

    Ennio - 2012-05-17

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.