]> git.mjollnir.org Git - moodle.git/commit
MDL-9399 auth/ldap: Add NTLM SSO pages
authormartinlanghoff <martinlanghoff>
Wed, 14 Nov 2007 22:08:38 +0000 (22:08 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 14 Nov 2007 22:08:38 +0000 (22:08 +0000)
commit977f5b56e107cc8dd75d3a4236a18e8371ff9c4e
tree7dc18e4d39544ec4dcce81153733159f1d15da09
parentdecd80163d5ca7a16c64dea972e8953fe41e7383
MDL-9399 auth/ldap: Add NTLM SSO pages

These pages control the process of attempting an NTLM SSO login
safely. This is very draft and needs real-world testing and polish.

And string localisation too ;-)

  * If NTLM SSO is enabled, and the user's IP addr is in the right
    subnet, the loginpage_hook() of auth/ldap redirects to
    ntlmsso_attempt.php

  * ntlmsso_attempt.php will display a "redirect" msg with an img tag
    pointing to ntlmsso_magic.php, a 3s wait, and a redirect to
    ntlmsso_finish.php

  * ntlmsso_magic.php should be configured to have "Integrated
    Windows Authentication". If it does, it will serve a spacer gif
    and call ntlmsso_magic()

  * ntlmsso_finish.php calls ntlmsso_finish() to complete the SSO
    and handles failures.
auth/ldap/ntlmsso_attempt.php [new file with mode: 0644]
auth/ldap/ntlmsso_finish.php [new file with mode: 0644]
auth/ldap/ntlmsso_magic.php [new file with mode: 0644]