From: B. J Date: Sat, 15 Oct 2011 09:13:27 +0000 (+0300) Subject: Fix NT-hash password use with integrated authentication server X-Git-Tag: hostap-1-bp~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dd80dd6612ca25ed88383f8ca45bae2552ca658;p=thirdparty%2Fhostap.git 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. --- diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c index a06f9565e..d163ce61f 100644 --- a/src/ap/ieee802_1x.c +++ b/src/ap/ieee802_1x.c @@ -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;