mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-04-30 10:47:48 +02:00
SMB2: Requests to the NamedPipeStore will not be blocked at the SMB layer
This commit is contained in:
parent
384efe97e7
commit
0d5898bb60
1 changed files with 0 additions and 5 deletions
|
@ -16,11 +16,6 @@ namespace SMBLibrary.Server.SMB2
|
||||||
{
|
{
|
||||||
internal static SMB2Command GetQueryDirectoryResponse(QueryDirectoryRequest request, ISMBShare share, SMB2ConnectionState state)
|
internal static SMB2Command GetQueryDirectoryResponse(QueryDirectoryRequest request, ISMBShare share, SMB2ConnectionState state)
|
||||||
{
|
{
|
||||||
if (!(share is FileSystemShare))
|
|
||||||
{
|
|
||||||
return new ErrorResponse(request.CommandName, NTStatus.STATUS_NOT_SUPPORTED);
|
|
||||||
}
|
|
||||||
|
|
||||||
SMB2Session session = state.GetSession(request.Header.SessionID);
|
SMB2Session session = state.GetSession(request.Header.SessionID);
|
||||||
OpenFileObject openFile = session.GetOpenFileObject(request.FileId.Persistent);
|
OpenFileObject openFile = session.GetOpenFileObject(request.FileId.Persistent);
|
||||||
if (openFile == null)
|
if (openFile == null)
|
||||||
|
|
Loading…
Add table
Reference in a new issue