From: Arran Cudbard-Bell Date: Mon, 21 Jan 2013 19:15:35 +0000 (+0000) Subject: Enable with_ntdomain_hack by default in mschap X-Git-Tag: release_3_0_0_beta1~1297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc9bf9e6aa68e325e0a6413c831b1d3c16339517;p=thirdparty%2Ffreeradius-server.git Enable with_ntdomain_hack by default in mschap --- diff --git a/raddb/mods-available/mschap b/raddb/mods-available/mschap index 7d7deb8cd34..e496ccc6b2a 100644 --- a/raddb/mods-available/mschap +++ b/raddb/mods-available/mschap @@ -28,13 +28,6 @@ mschap { # # require_strong = yes - # Windows sends us a username in the form of - # DOMAIN\user, but sends the challenge response - # based on only the user portion. This hack - # corrects for that incorrect behavior. - # -# with_ntdomain_hack = no - # The module can perform authentication itself, OR # use a Windows Domain Controller. This configuration # directive tells the module to call the ntlm_auth diff --git a/src/modules/rlm_mschap/rlm_mschap.c b/src/modules/rlm_mschap/rlm_mschap.c index 7a403fd8920..97709966394 100644 --- a/src/modules/rlm_mschap/rlm_mschap.c +++ b/src/modules/rlm_mschap/rlm_mschap.c @@ -545,7 +545,7 @@ static const CONF_PARSER module_config[] = { { "require_strong", PW_TYPE_BOOLEAN, offsetof(rlm_mschap_t,require_strong), NULL, "no" }, { "with_ntdomain_hack", PW_TYPE_BOOLEAN, - offsetof(rlm_mschap_t,with_ntdomain_hack), NULL, "no" }, + offsetof(rlm_mschap_t,with_ntdomain_hack), NULL, "yes" }, { "passwd", PW_TYPE_STRING_PTR, offsetof(rlm_mschap_t, passwd_file), NULL, NULL }, { "ntlm_auth", PW_TYPE_STRING_PTR,