]> git.mjollnir.org Git - moodle.git/commit
MDL-9399 auth/ldap: NTLM SSO - use sesskey and other tidyups
authormartinlanghoff <martinlanghoff>
Wed, 14 Nov 2007 22:11:35 +0000 (22:11 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 14 Nov 2007 22:11:35 +0000 (22:11 +0000)
commit355bd271ac8173345aab93ffab79cb7c6312a567
treea9a6286db7aca512e196c9b8fd498fa95ff9018d
parent6fd511eb1cc32b2b7ab54785e0cb5e5706f4d067
MDL-9399 auth/ldap: NTLM SSO - use sesskey and other tidyups

Several tidyups:

- use moodle_strtolower() for utf-8 correctness

 - use sesskey as the key instead of IP addr to support
   proxied users

 - clean the sesskey after success!

 - pull timeout out to a constant: AUTH_NTLMTIMEOUT
auth/ldap/auth.php