The branch, v3-2-test has been updated via ecbe08897c9cc47790f3d4f5680d25202bc0f6c3 (commit) from 642424b3779dd33cd2b5049789aa16e678438bb9 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit ecbe08897c9cc47790f3d4f5680d25202bc0f6c3 Author: Kai Blin <[EMAIL PROTECTED]> Date: Tue Jan 15 19:28:23 2008 +0100 libsmb: Do not upper-case target name on NTLMv2 hash generation This makes our NTLMv2 hash generation compatible to the Davenport example and fixes a bug when ntlm_auth is called with a non-upper-case --domain parameter and client ntlmv2 auth = yes Jerry, please consider for 3.2.0 ----------------------------------------------------------------------- Summary of changes: source/libsmb/smbencrypt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/libsmb/smbencrypt.c b/source/libsmb/smbencrypt.c index d7f6f60..c547a4a 100644 --- a/source/libsmb/smbencrypt.c +++ b/source/libsmb/smbencrypt.c @@ -443,7 +443,7 @@ bool SMBNTLMv2encrypt_hash(const char *user, const char *domain, const uchar nt_ the username and domain. This prevents username swapping during the auth exchange */ - if (!ntv2_owf_gen(nt_hash, user, domain, True, ntlm_v2_hash)) { + if (!ntv2_owf_gen(nt_hash, user, domain, False, ntlm_v2_hash)) { return False; } -- Samba Shared Repository