summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/sesssetup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index bb78129667..78dd66a018 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -332,12 +332,11 @@ static int reply_spnego_negotiate(connection_struct *conn,
fstrcat(dnsname, lp_realm());
strlower(dnsname);
- msrpc_gen(&struct_blob, "aaaaa",
+ msrpc_gen(&struct_blob, "aaaa",
2, lp_workgroup(),
1, global_myname,
4, dnsdomname,
- 3, dnsname,
- 0, NULL);
+ 3, dnsname);
msrpc_gen(&chal, "CdUdbddB",
"NTLMSSP",