mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-21 16:55:54 +02:00
SMB1: Improved implementation of TRANS2_GET_DFS_REFERRAL request and response
This commit is contained in:
parent
2646b952ea
commit
e287129571
2 changed files with 6 additions and 8 deletions
|
@ -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
|
* 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,
|
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||||
|
@ -6,7 +6,6 @@
|
||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
using Utilities;
|
using Utilities;
|
||||||
|
|
||||||
namespace SMBLibrary.SMB1
|
namespace SMBLibrary.SMB1
|
||||||
|
@ -17,10 +16,11 @@ namespace SMBLibrary.SMB1
|
||||||
public class Transaction2GetDfsReferralRequest : Transaction2Subcommand
|
public class Transaction2GetDfsReferralRequest : Transaction2Subcommand
|
||||||
{
|
{
|
||||||
// Parameters:
|
// Parameters:
|
||||||
RequestGetDfsReferral ReferralRequest;
|
public RequestGetDfsReferral ReferralRequest;
|
||||||
|
|
||||||
public Transaction2GetDfsReferralRequest() : base()
|
public Transaction2GetDfsReferralRequest() : base()
|
||||||
{}
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public Transaction2GetDfsReferralRequest(byte[] parameters, byte[] data) : base()
|
public Transaction2GetDfsReferralRequest(byte[] parameters, byte[] data) : base()
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
* 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,
|
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||||
|
@ -6,19 +6,17 @@
|
||||||
*/
|
*/
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
using Utilities;
|
using Utilities;
|
||||||
|
|
||||||
namespace SMBLibrary.SMB1
|
namespace SMBLibrary.SMB1
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// TRANS2_GET_DFS_REFERRAL Response
|
/// TRANS2_GET_DFS_REFERRAL Response
|
||||||
/// We will always return STATUS_NO_SUCH_DEVICE
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Transaction2GetDfsReferralResponse : Transaction2Subcommand
|
public class Transaction2GetDfsReferralResponse : Transaction2Subcommand
|
||||||
{
|
{
|
||||||
// Data:
|
// Data:
|
||||||
ResponseGetDfsReferral ReferralResponse;
|
public ResponseGetDfsReferral ReferralResponse;
|
||||||
|
|
||||||
public Transaction2GetDfsReferralResponse() : base()
|
public Transaction2GetDfsReferralResponse() : base()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue