SMB1: Improved implementation of TRANS2_GET_DFS_REFERRAL request and response

This commit is contained in:
Tal Aloni 2017-09-25 17:45:26 +03:00
parent 2646b952ea
commit e287129571
2 changed files with 6 additions and 8 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2014 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
*
* You can redistribute this program and/or modify it under the terms of
* the GNU Lesser Public License as published by the Free Software Foundation,
@ -6,7 +6,6 @@
*/
using System;
using System.Collections.Generic;
using System.Text;
using Utilities;
namespace SMBLibrary.SMB1
@ -17,10 +16,11 @@ namespace SMBLibrary.SMB1
public class Transaction2GetDfsReferralRequest : Transaction2Subcommand
{
// Parameters:
RequestGetDfsReferral ReferralRequest;
public RequestGetDfsReferral ReferralRequest;
public Transaction2GetDfsReferralRequest() : base()
{}
{
}
public Transaction2GetDfsReferralRequest(byte[] parameters, byte[] data) : base()
{

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2014 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
*
* You can redistribute this program and/or modify it under the terms of
* the GNU Lesser Public License as published by the Free Software Foundation,
@ -6,19 +6,17 @@
*/
using System;
using System.Collections.Generic;
using System.Text;
using Utilities;
namespace SMBLibrary.SMB1
{
/// <summary>
/// TRANS2_GET_DFS_REFERRAL Response
/// We will always return STATUS_NO_SUCH_DEVICE
/// </summary>
public class Transaction2GetDfsReferralResponse : Transaction2Subcommand
{
// Data:
ResponseGetDfsReferral ReferralResponse;
public ResponseGetDfsReferral ReferralResponse;
public Transaction2GetDfsReferralResponse() : base()
{