summaryrefslogtreecommitdiffstats
path: root/source/libsmb/ntlmssp.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-04-20 16:33:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:17 -0500
commita2e93dda24d079693a220b4551d264cba4c2bc82 (patch)
treef0402b59c32fff498431361e43ceec3908148aa0 /source/libsmb/ntlmssp.c
parent157d53782d6a7d0b7e30676a674ff2a25a15369c (diff)
downloadsamba-a2e93dda24d079693a220b4551d264cba4c2bc82.tar.gz
samba-a2e93dda24d079693a220b4551d264cba4c2bc82.tar.xz
samba-a2e93dda24d079693a220b4551d264cba4c2bc82.zip
r296: patch from j.lu -- don't force an upper case domain name in the ntlmssp code
Diffstat (limited to 'source/libsmb/ntlmssp.c')
-rw-r--r--source/libsmb/ntlmssp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/libsmb/ntlmssp.c b/source/libsmb/ntlmssp.c
index 7f451176ecd..66d48afc463 100644
--- a/source/libsmb/ntlmssp.c
+++ b/source/libsmb/ntlmssp.c
@@ -168,9 +168,7 @@ NTSTATUS ntlmssp_set_password(NTLMSSP_STATE *ntlmssp_state, const char *password
*/
NTSTATUS ntlmssp_set_domain(NTLMSSP_STATE *ntlmssp_state, const char *domain)
{
- /* Possibly make our NTLMv2 client more robust by always having
- an uppercase domain */
- ntlmssp_state->domain = talloc_strdup_upper(ntlmssp_state->mem_ctx, domain);
+ ntlmssp_state->domain = talloc_strdup(ntlmssp_state->mem_ctx, domain);
if (!ntlmssp_state->domain) {
return NT_STATUS_NO_MEMORY;
}