Fix NT-hash password use with integrated authentication server

The password_hash parameter was not copied in case of the integrated
authentication server (but was for RADIUS server). This broke EAP
authentication when the user entry used NT-hash.
This commit is contained in:
B. J 2011-10-15 12:13:27 +03:00 committed by Jouni Malinen
parent f1afcb391e
commit 5dd80dd661

View file

@ -1599,6 +1599,7 @@ static int ieee802_1x_get_eap_user(void *ctx, const u8 *identity,
os_memcpy(user->password, eap_user->password,
eap_user->password_len);
user->password_len = eap_user->password_len;
user->password_hash = eap_user->password_hash;
}
user->force_version = eap_user->force_version;
user->ttls_auth = eap_user->ttls_auth;