mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s4-ntlmssp: use interface constants in TargetInfo blob.
Guenther
This commit is contained in:
parent
e8c19f31b3
commit
38d677bdf2
@ -205,11 +205,11 @@ NTSTATUS ntlmssp_server_negotiate(struct gensec_security *gensec_security,
|
||||
|
||||
msrpc_gen(out_mem_ctx,
|
||||
&struct_blob, "aaaaa",
|
||||
NTLMSSP_NAME_TYPE_DOMAIN, target_name,
|
||||
NTLMSSP_NAME_TYPE_SERVER, gensec_ntlmssp_state->server_name,
|
||||
NTLMSSP_NAME_TYPE_DOMAIN_DNS, dnsdomname,
|
||||
NTLMSSP_NAME_TYPE_SERVER_DNS, dnsname,
|
||||
0, "");
|
||||
MsvAvNbDomainName, target_name,
|
||||
MsvAvNbComputerName, gensec_ntlmssp_state->server_name,
|
||||
MsvAvDnsDomainName, dnsdomname,
|
||||
MsvAvDnsComputerName, dnsname,
|
||||
MsvAvEOL, "");
|
||||
} else {
|
||||
struct_blob = data_blob(NULL, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user