SMB2: Requests to the NamedPipeStore will not be blocked at the SMB layer

This commit is contained in:
Tal Aloni 2017-02-11 13:12:12 +02:00
parent 384efe97e7
commit 0d5898bb60

View file

@ -16,11 +16,6 @@ namespace SMBLibrary.Server.SMB2
{
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);
OpenFileObject openFile = session.GetOpenFileObject(request.FileId.Persistent);
if (openFile == null)