summaryrefslogtreecommitdiffstats
path: root/source3/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
commit042209871c50e346fdcb9fd3cbeb30c5bf942792 (patch)
tree9292f90d8b2ad5a8ac1877784a9c721a36f801d5 /source3/libsmb/ntlmssp.c
parentf7cf0aaa6f5cb10f2a52b2b76efc0e4dbe6bea91 (diff)
downloadsamba-042209871c50e346fdcb9fd3cbeb30c5bf942792.tar.gz
samba-042209871c50e346fdcb9fd3cbeb30c5bf942792.tar.xz
samba-042209871c50e346fdcb9fd3cbeb30c5bf942792.zip
r296: patch from j.lu -- don't force an upper case domain name in the ntlmssp code
(This used to be commit a2e93dda24d079693a220b4551d264cba4c2bc82)
Diffstat (limited to 'source3/libsmb/ntlmssp.c')
-rw-r--r--source3/libsmb/ntlmssp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 7f451176ec..66d48afc46 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/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;
}