summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-08-25 12:27:51 +0200
committerGünther Deschner <gd@samba.org>2009-08-28 10:09:13 +0200
commit38d677bdf2cd3df554c93bb7ffbcf34f444538b5 (patch)
tree219298459e1a4c845186557ccb1d938193bb2f95
parente8c19f31b34ca56ae785ade9e2fdc17c80795acc (diff)
downloadsamba-38d677bdf2cd3df554c93bb7ffbcf34f444538b5.tar.gz
samba-38d677bdf2cd3df554c93bb7ffbcf34f444538b5.tar.bz2
samba-38d677bdf2cd3df554c93bb7ffbcf34f444538b5.zip
s4-ntlmssp: use interface constants in TargetInfo blob.
Guenther
-rw-r--r--source4/auth/ntlmssp/ntlmssp_server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_server.c b/source4/auth/ntlmssp/ntlmssp_server.c
index a83df7377f..b55c1cd930 100644
--- a/source4/auth/ntlmssp/ntlmssp_server.c
+++ b/source4/auth/ntlmssp/ntlmssp_server.c
@@ -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);
}