diff --git a/source3/smbd/smb2_ioctl_network_fs.c b/source3/smbd/smb2_ioctl_network_fs.c index 4006ccf3162..902c647af5f 100644 --- a/source3/smbd/smb2_ioctl_network_fs.c +++ b/source3/smbd/smb2_ioctl_network_fs.c @@ -496,15 +496,17 @@ static NTSTATUS fsctl_validate_neg_info(TALLOC_CTX *mem_ctx, return status; } - *out_output = data_blob_talloc(mem_ctx, NULL, 0x18); + *out_output = data_blob_talloc(mem_ctx, NULL, 0x14); if (out_output->data == NULL) { return NT_STATUS_NO_MEMORY; } SIVAL(out_output->data, 0x00, conn->smb2.server.capabilities); memcpy(out_output->data+0x04, out_guid_blob.data, 16); +#if 0 SSVAL(out_output->data, 0x14, conn->smb2.server.security_mode); SSVAL(out_output->data, 0x16, conn->smb2.server.dialect); +#endif return NT_STATUS_OK; }