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 | 79009d6afa421b39a61050e1c970ce0b9d0474d6 (patch) | |
tree | 8d2012ded5c2647f1084f3b4a323b3a925d7de56 | |
parent | 158a5b8399d8c0c5877f58719cf16b4f1e59eb55 (diff) | |
download | samba-79009d6afa421b39a61050e1c970ce0b9d0474d6.tar.gz samba-79009d6afa421b39a61050e1c970ce0b9d0474d6.tar.bz2 samba-79009d6afa421b39a61050e1c970ce0b9d0474d6.zip |
Revert this one: The NTLMv2 checks need the original username as found
on the wire.
(This used to be commit 7c9ae76b3ff4f1ba88ddad570648f32f99e38944)
-rw-r--r-- | source3/auth/auth_sam.c | 2 | ||||
-rw-r--r-- | source3/smbd/auth_smbpasswd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c index 2427b2d16e..cb8d711770 100644 --- a/source3/auth/auth_sam.c +++ b/source3/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)) { diff --git a/source3/smbd/auth_smbpasswd.c b/source3/smbd/auth_smbpasswd.c index 2427b2d16e..cb8d711770 100644 --- a/source3/smbd/auth_smbpasswd.c +++ b/source3/smbd/auth_smbpasswd.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)) { |