Skip to content

Commit

Permalink
NT-Password attribute is not required for changing the password
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed May 13, 2015
1 parent 10f7b4f commit 69643e3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/modules/rlm_mschap/rlm_mschap.c
Expand Up @@ -1576,11 +1576,6 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(void * instance, REQUEST *r

RDEBUG("MS-CHAPv2 password change request received");

if (!nt_password) {
REDEBUG("No valid NT-Password attribute found, can't change password");
return RLM_MODULE_INVALID;
}

if (cpw->vp_length != 68) {
REDEBUG("MS-CHAP2-CPW has the wrong format: length %zu != 68", cpw->vp_length);
return RLM_MODULE_INVALID;
Expand Down

0 comments on commit 69643e3

Please sign in to comment.