wbcCtxAuthenticateUserEx params update to allow workstation login
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 891df43..4a7751a 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;
 
 
        /*