]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
wbcCtxAuthenticateUserEx params update to allow workstation login 1556/head
authorMatthew Newton <mcn4@leicester.ac.uk>
Tue, 8 Mar 2016 13:52:14 +0000 (13:52 +0000)
committerMatthew Newton <mcn4@leicester.ac.uk>
Tue, 8 Mar 2016 15:13:24 +0000 (15:13 +0000)
src/modules/rlm_mschap/auth_wbclient.c

index 891df4384f5de0d6d68412963489cc59a6624d70..4a7751a5d49e07e19f6a3f68d354f9001df823a8 100644 (file)
@@ -105,7 +105,9 @@ int do_auth_wbclient(rlm_mschap_t *inst, REQUEST *request,
        memcpy(authparams.password.response.challenge, challenge,
               sizeof(authparams.password.response.challenge));
 
-       authparams.parameter_control |= WBC_MSV1_0_ALLOW_MSVCHAPV2;
+       authparams.parameter_control |= WBC_MSV1_0_ALLOW_MSVCHAPV2 |
+                                       WBC_MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT |
+                                       WBC_MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT;
 
 
        /*