summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-08-14 14:08:45 +0200
committerGünther Deschner <gd@samba.org>2009-08-28 10:08:59 +0200
commit82469deeac99ebf4d01bb4d88e5f3a456b752045 (patch)
tree85f91fe129dbe96b16042c89391f5a4b1de0ce00 /source3
parent25d6c0a51813928a7ef343a1d5411247212a0bc6 (diff)
downloadsamba-82469deeac99ebf4d01bb4d88e5f3a456b752045.tar.gz
samba-82469deeac99ebf4d01bb4d88e5f3a456b752045.tar.bz2
samba-82469deeac99ebf4d01bb4d88e5f3a456b752045.zip
s3-ntlmssp: use interface constants in TargetInfo blob.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/ntlmssp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index c770ae4323..2e5d8cc2ea 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -581,11 +581,11 @@ static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
if (chal_flags & NTLMSSP_NEGOTIATE_TARGET_INFO)
{
msrpc_gen(ntlmssp_state, &struct_blob, "aaaaa",
- NTLMSSP_NAME_TYPE_DOMAIN, target_name,
- NTLMSSP_NAME_TYPE_SERVER, ntlmssp_state->get_global_myname(),
- NTLMSSP_NAME_TYPE_DOMAIN_DNS, dnsdomname,
- NTLMSSP_NAME_TYPE_SERVER_DNS, dnsname,
- 0, "");
+ MsvAvNbDomainName, target_name,
+ MsvAvNbComputerName, ntlmssp_state->get_global_myname(),
+ MsvAvDnsDomainName, dnsdomname,
+ MsvAvDnsComputerName, dnsname,
+ MsvAvEOL, "");
} else {
struct_blob = data_blob_null;
}