summaryrefslogtreecommitdiff
path: root/libcli/auth/ntlm_check.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-08-23 16:02:09 -0700
committerJeremy Allison <jra@samba.org>2012-08-24 21:39:41 +0200
commitaca444cbfc495831ab0a265214ed48be74560bf2 (patch)
tree8b26f3ce0de03c3fa38e69dadc4b58bce0f5054d /libcli/auth/ntlm_check.c
parentcbdf6c5c5135ce7d14ceff5d12b99428f4285e13 (diff)
downloadsamba-aca444cbfc495831ab0a265214ed48be74560bf2.tar.gz
samba-aca444cbfc495831ab0a265214ed48be74560bf2.tar.bz2
samba-aca444cbfc495831ab0a265214ed48be74560bf2.zip
Remove useless bool "upper_case_domain" parameter from ntv2_owf_gen().
The code in SMBNTLMv2encrypt_hash() should not be requesting case changes on the domain name. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Aug 24 21:39:42 CEST 2012 on sn-devel-104
Diffstat (limited to 'libcli/auth/ntlm_check.c')
-rw-r--r--libcli/auth/ntlm_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/auth/ntlm_check.c b/libcli/auth/ntlm_check.c
index 6263ddc73a..dc70957f4f 100644
--- a/libcli/auth/ntlm_check.c
+++ b/libcli/auth/ntlm_check.c
@@ -121,7 +121,7 @@ static bool smb_pwd_check_ntlmv2(TALLOC_CTX *mem_ctx,
but for NTLMv2 it is meant to contain the current time etc.
*/
- if (!ntv2_owf_gen(part_passwd, user, domain, false, kr)) {
+ if (!ntv2_owf_gen(part_passwd, user, domain, kr)) {
return false;
}
@@ -190,7 +190,7 @@ static bool smb_sess_key_ntlmv2(TALLOC_CTX *mem_ctx,
client_key_data = data_blob_talloc(mem_ctx, ntv2_response->data+16, ntv2_response->length-16);
- if (!ntv2_owf_gen(part_passwd, user, domain, false, kr)) {
+ if (!ntv2_owf_gen(part_passwd, user, domain, kr)) {
return false;
}