diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-09-20 00:19:55 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-09-20 00:19:55 +0000 |
commit | 7c9ae76b3ff4f1ba88ddad570648f32f99e38944 (patch) | |
tree | 30b9291852d19bbaaaf7701ac3aab017cdc32038 /source/auth | |
parent | 162b88e2313dbcf0b95300b8f18a3e9b6b6b29bd (diff) | |
download | samba-7c9ae76b3ff4f1ba88ddad570648f32f99e38944.tar.gz samba-7c9ae76b3ff4f1ba88ddad570648f32f99e38944.tar.xz samba-7c9ae76b3ff4f1ba88ddad570648f32f99e38944.zip |
Revert this one: The NTLMv2 checks need the original username as found
on the wire.
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/auth_sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_sam.c b/source/auth/auth_sam.c index 2427b2d16e4..cb8d7117709 100644 --- a/source/auth/auth_sam.c +++ b/source/auth/auth_sam.c @@ -191,7 +191,7 @@ NTSTATUS smb_password_ok(SAM_ACCOUNT *sampass, const auth_usersupplied_info *use if (smb_pwd_check_ntlmv2( user_info->nt_resp.buffer, user_info->nt_resp.len, nt_pw, - user_info->chal, sampass->username, + user_info->chal, user_info->smb_username.str, user_info->requested_domain.str, (char *)server_info->session_key)) { |