]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd: for now indicate raw NTLMSSP in the SMB2 Negotiate response
authorStefan Metzmacher <metze@samba.org>
Wed, 20 May 2009 17:45:28 +0000 (19:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 20 May 2009 18:53:32 +0000 (20:53 +0200)
metze

source3/smbd/smb2_negprot.c

index 38dfe6dab3a26c178262d2363329729dd1aafa83..b976ea239956fbf6849a7b74fcfa4bab80bbe131 100644 (file)
@@ -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);