1
0
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:
Günther Deschner 2009-08-25 12:27:51 +02:00
parent e8c19f31b3
commit 38d677bdf2

View File

@ -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);
}