summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-16 07:04:37 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-16 07:04:37 +0000
commit54e964a0fb0958f603f90ba5995586b21ee52266 (patch)
tree3e23196e009c748a7efd9944fce0e3c94072e24d /source3
parent88d321becdcff10f52a629946fb300d158fcc2fa (diff)
downloadsamba-54e964a0fb0958f603f90ba5995586b21ee52266.tar.gz
samba-54e964a0fb0958f603f90ba5995586b21ee52266.tar.bz2
samba-54e964a0fb0958f603f90ba5995586b21ee52266.zip
Fix segfault in the new NTLMSSP code. jmcd: can you look at this - what
exactly were you trying to do here? Andrew Bartlett (This used to be commit 81b675b54d86d196fb2035dc5d22781160518beb)
Diffstat (limited to 'source3')
-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",