Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If it is a Windows based intranet, I would not hassle with Javascript, but use the default NTLM-Authentication, as described in <a href="https://stackoverflow.com/questions/7123608/login-on-site-without-password-and-user-name-use-user-form-active-directory-domai/7123765#7123765">this thread</a>. That way, you can provide a single-sign-on for any number of sites with the normal username and password of the users of your network. To quote my answer from the other thread:</p> <p><em>It actually is possible with NTLM authentication. You need the <a href="https://stackoverflow.com/questions/7123608/login-on-site-without-password-and-user-name-use-user-form-active-directory-domai/7123765#7123765">AuthenNTLM</a>-plugin, which will authenticate a user using the Internet Explorer. An example syntax would be</em></p> <pre><code>&lt;Location /&gt; PerlAuthenHandler Apache::AuthenNTLM AuthType ntlm,basic AuthName test require valid-user # domain pdc bdc PerlAddVar ntdomain "name_domain1 name_of_pdc1" PerlAddVar ntdomain "other_domain pdc_for_domain bdc_for_domain" PerlSetVar defaultdomain wingr1 PerlSetVar ntlmdebug 1 &lt;/Location&gt; ## taken from the documentation </code></pre> <p><em>Please refer to the <a href="http://search.cpan.org/~speeves/Apache2-AuthenNTLM-0.02/AuthenNTLM.pm" rel="nofollow noreferrer">module documentation</a> for more options and specific instructions on the setup - the above should get you started in the right direction.</em></p> <p><em>On the client side, Internet Explorer and Firefox should be able to login automatically after some configuration (Firefox needing a bit of <a href="http://sivel.net/2007/05/firefox-ntlm-sso/" rel="nofollow noreferrer">special care</a> - which may be achieved by setting the configuration variables during deployment).</em></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload