1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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

This commit is contained in:
Gerald Carter 2004-04-20 16:33:30 +00:00 committed by Gerald (Jerry) Carter
parent 157d53782d
commit a2e93dda24

View 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;
}