Commit 04220987 authored by Gerald Carter's avatar Gerald Carter Committed by Gerald (Jerry) Carter
Browse files

r296: patch from j.lu -- don't force an upper case domain name in the ntlmssp code

(This used to be commit a2e93dda24d079693a220b4551d264cba4c2bc82)
parent f7cf0aaa
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
	}