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:
parent
157d53782d
commit
a2e93dda24
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user