mirror of
https://github.com/samba-team/samba.git
synced 2025-03-23 06:50:21 +03:00
auth/ntlmssp: keep ntlmssp_state->server.netbios_domain on the correct talloc context
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11804 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 0a9e37a0db86815d2baf7ab791721b6a7e04a717)
This commit is contained in:
parent
14b2a51610
commit
aa0ed80b53
@ -244,7 +244,7 @@ NTSTATUS ntlmssp_client_challenge(struct gensec_security *gensec_security,
|
||||
}
|
||||
/* TODO: parse struct_blob and fill in the rest */
|
||||
ntlmssp_state->server.netbios_name = "";
|
||||
ntlmssp_state->server.netbios_domain = server_domain;
|
||||
ntlmssp_state->server.netbios_domain = talloc_move(ntlmssp_state, &server_domain);
|
||||
ntlmssp_state->server.dns_name = "";
|
||||
ntlmssp_state->server.dns_domain = "";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user