2

I am trying to implement an auto login function into my mediawiki by using their windows credentials. I am using Apache Server (V2.2).

I have implemented the Auth remoteuser extension and has implemented the mod_auth_sspi.so in my httpd.conf file and has configure it to be as follows

<IfModule !mod_auth_sspi.c>
    LoadModule sspi_auth_module modules/mod_auth_sspi.so
</IfModule>
<Location "file/to/path">
    Options FollowSymLinks
    Order allow,deny
    Allow from all
    AuthName "TestWeb"
    AuthType SSPI 
    SSPIAuth On 
    SSPIAuthoritative On
    SSPIOmitDomain On
    SSPIOfferBasic on
    Require valid-user 
</Location>

However, it gives me the prompt to type in the username and password on IE/Firefox/Chrome which I don't want the prompt to appear. I want it to auto login to mediawiki straight without the prompt. Which step am I doing wrong?

How may I achieve the above? Thanks for all assistance!

Captain Obvlious
  • 19,754
  • 5
  • 44
  • 74
user1730935
  • 311
  • 3
  • 15
  • nobody knows why ? :( – user1730935 Jun 11 '15 at 08:29
  • You may want to share your experience in https://www.mediawiki.org/wiki/Requests_for_comment/AuthManager so that such a job is made easier in the future. – Nemo Nov 02 '15 at 10:45
  • Possible duplicate of [Using domain login credentials on webpage ? Configuring Mediawiki to do this? Is it possible?](http://stackoverflow.com/questions/11954817/using-domain-login-credentials-on-webpage-configuring-mediawiki-to-do-this-is) – Nemo Nov 08 '15 at 09:40

1 Answers1

0

Remove 'SSPIOfferBasic on' and make sure your IE options are set as described here:

Single Sign On with apache on windows 7 and mod_auth_sspi

SSPIOfferBasic means "clients, you can authenticate, using basic auth", so most browsers will chose that instead of SSO/NTLM

Community
  • 1
  • 1
sashok_bg
  • 2,436
  • 1
  • 22
  • 33