Browse Source

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.
B. J 13 years ago
parent
commit
5dd80dd661
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/ap/ieee802_1x.c

+ 1 - 0
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;