r296: patch from j.lu -- don't force an upper case domain name in the ntlmssp code
authorGerald Carter <jerry@samba.org>
Tue, 20 Apr 2004 16:33:30 +0000 (16:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:51:17 +0000 (10:51 -0500)
(This used to be commit a2e93dda24d079693a220b4551d264cba4c2bc82)

source3/libsmb/ntlmssp.c

index 7f451176ecd1c8c57e4d322179ac5fcd391f4b8c..66d48afc4633a528326128d5686ca3590b3dacfe 100644 (file)
@@ -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;
        }