summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-20 19:45:28 +0200
committerStefan Metzmacher <metze@samba.org>2009-05-20 20:53:32 +0200
commitdafc1e0c8d16e4dcc3929d9e5f78ce60d3371fe8 (patch)
treeb1bd667e046c78424354963483e8628c9de962d5 /source3/smbd
parentf9da4fb71a4d93278025e009b8987a4ba0965fa1 (diff)
downloadsamba-dafc1e0c8d16e4dcc3929d9e5f78ce60d3371fe8.tar.gz
samba-dafc1e0c8d16e4dcc3929d9e5f78ce60d3371fe8.tar.bz2
samba-dafc1e0c8d16e4dcc3929d9e5f78ce60d3371fe8.zip
s3:smbd: for now indicate raw NTLMSSP in the SMB2 Negotiate response
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_negprot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c
index 38dfe6dab3..b976ea2399 100644
--- a/source3/smbd/smb2_negprot.c
+++ b/source3/smbd/smb2_negprot.c
@@ -133,6 +133,9 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
security_buffer = data_blob_const(negprot_spnego_blob.data + 16,
negprot_spnego_blob.length - 16);
+ /* for now we want raw NTLMSSP */
+ security_buffer = data_blob_const(NULL, 0);
+
outbody = data_blob_talloc(req->out.vector, NULL, 0x40);
if (outbody.data == NULL) {
return smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);