Commit graph

601 commits

Author SHA1 Message Date
Tal Aloni
6fccba9e0e Improved SMB_COM_NT_TRANSACT response implementation 2017-07-28 13:44:48 +03:00
Tal Aloni
aaa19eb40f Renamed variables 2017-07-28 12:51:29 +03:00
Tal Aloni
6b329e07c4 SMBServer: Bugfix: Incorrect OplockLevel was reported 2017-07-28 10:47:10 +03:00
Tal Aloni
383c11dc00 SMBServer: SMB1: Delete / Rename commands no longer require exlusive access to the file / directory being delete / renamed 2017-07-28 10:38:36 +03:00
Tal Aloni
ea4f524d89 SMB1FileStoreHelper: Delete / Rename: Bugfix: The temporary file handle was not closed 2017-07-28 01:29:46 +03:00
Tal Aloni
5a29ef1556 SMBServer: Release connections and associated resources when stopping the server 2017-07-28 01:29:46 +03:00
Tal Aloni
ed42b567e5 SMBServer: SMB1: ReadAndX: Added workaround for JCIFS 2017-07-28 01:29:46 +03:00
Tal Aloni
8b073010b2 Minor logging improvement 2017-07-28 01:29:46 +03:00
Tal Aloni
fdaafdfa9c NTDirectoryFileSystem: CreateFile: Workaround for using FILE_NO_INTERMEDIATE_BUFFERING and FILE_APPEND_DATA together 2017-07-28 01:29:41 +03:00
Tal Aloni
e5eb4e2f81 SMBServer v1.2.2 2017-07-27 14:43:55 +03:00
Tal Aloni
0cf1ac07bd SMB Server application: Use NTDirectoryFileSystem by default 2017-07-26 19:20:46 +03:00
Tal Aloni
9fe283762a Bugfix: Last SessionSetupResponse was not signed, final async response was not signed 2017-07-26 19:14:08 +03:00
Tal Aloni
9902b91eff Added NTDirectoryFileSystem implementation for passsing-through IO requests to the local NT storage subsystem 2017-07-26 15:12:30 +03:00
Tal Aloni
5f90217d21 Moved IntegratedNTLMAuthenticationProvider 2017-07-26 14:55:21 +03:00
Tal Aloni
5b4207aedd Added Support for NotifyChange and Cancel if the underlying file store supports it 2017-07-25 18:51:41 +03:00
Tal Aloni
7e3df3f694 Minor code refactoring 2017-07-26 14:28:12 +03:00
Tal Aloni
09419f145f NTFileStore: Added FileLinkInformationType1 and FileRenameInformationType1 implementations 2017-07-26 12:34:34 +03:00
Tal Aloni
7a6469f3c2 Minor logging improvement 2017-07-26 11:41:36 +03:00
Tal Aloni
6c9ea46eb4 INTFileStore: Added NotifyChange and Cancel methods 2017-07-25 17:33:51 +03:00
Tal Aloni
6507d88bf5 Minor code refactoring, do not try to process async commands other than CANCEL 2017-07-25 16:53:42 +03:00
Tal Aloni
ca48ffd92f SMBServer: SMB1: Properly handle SMB_COM_NT_TRANSACT requests with invalid function code 2017-07-25 14:53:06 +03:00
Tal Aloni
e91b9d30d6 Minor logging improvement 2017-07-25 14:48:06 +03:00
Tal Aloni
1c13a0e539 SMBServer: SMB1: SMB_COM_FLUSH will now call FlushFileBuffers on the handle associated with the specified FID 2017-07-25 14:04:19 +03:00
Tal Aloni
3f9daa39fe Minor code refactoring 2017-07-25 13:42:43 +03:00
Tal Aloni
2698498c8b SMBServer: Marked methods required for asynchronous operation as internal 2017-07-25 11:21:30 +03:00
Tal Aloni
d0b8ad25f1 SMB1/SMB2 Headers: Marked Protocol ID bytes as private 2017-07-25 11:15:43 +03:00
Tal Aloni
14e02ed8ac Improved compatibility with Windows Native API 2017-07-25 11:15:43 +03:00
Tal Aloni
fc96dfcb4c SMB1: NTTransactionHelper / TransactionHelper: Store MaxParameterCount (required for NT_TRANSACT_NOTIFY_CHANGE) 2017-07-25 11:15:43 +03:00
Tal Aloni
8aad4adb9c Added SMB_COM_NT_CANCEL request implementation 2017-07-25 11:15:37 +03:00
Tal Aloni
25d1714fe7 Improved compatibility with Windows Native API 2017-07-21 17:48:59 +03:00
Tal Aloni
917f7f40f1 SMB2 Commands: Marked StructureSize as private 2017-07-21 17:43:36 +03:00
Tal Aloni
fd9a845fa2 SMB1FileStoreHelper: QueryInformation / SetInformation / QueryDirectory: Bugfix: Temporary handle was not closed 2017-07-18 15:10:18 +03:00
Tal Aloni
2457d2c246 SMB1FileStoreHelper: Delete / Rename: The status of SetFileInformation should be returned regardless of the status of CloseFile 2017-07-18 14:59:48 +03:00
Tal Aloni
2f39e9072c INTFileStore: CreateFile: Added FileAttributes parameter 2017-07-15 19:16:51 +03:00
Tal Aloni
1fbd003b0d FileSystemInformation: Added GetFileSystemInformation method 2017-07-15 16:13:07 +03:00
Tal Aloni
6384576794 Removed unnecessary using statements 2017-07-15 12:31:29 +03:00
Tal Aloni
9e118fccdd NTFileSystemAdapter: bugfix: FILE_DELETE_ON_CLOSE flag was ignored in some cases 2017-07-14 23:04:41 +03:00
Tal Aloni
eb816a6aaf Minor logging improvements 2017-07-14 19:07:27 +03:00
Tal Aloni
37d3141180 SMBServer: Include NT FileSystem Adapter events in the log 2017-07-14 18:30:38 +03:00
Tal Aloni
5d77a5d681 SMBServer v1.2.1 2017-07-13 18:32:01 +03:00
Tal Aloni
4aba3f5244 SMBServer: Improved Named Pipe implementation 2017-07-11 23:14:10 +03:00
Tal Aloni
ed00ad4067 Improved implementation of RPC PDUs 2017-07-11 22:02:21 +03:00
Tal Aloni
d2a8c251be NamedPipeType enum: Corrected typo and renamed value 2017-07-11 21:41:19 +03:00
Tal Aloni
4fef34e7cd SMBServer: Correct handling of STATUS_BUFFER_OVERFLOW returned by the NTFileStore 2017-07-11 21:19:44 +03:00
Tal Aloni
9669f16bb5 SMB1: Bugfix: The server was returning more bytes than the specified maximum for SMB_COM_NT_TRANSACT and SMB_COM_NT_TRANSACT commands 2017-07-11 20:48:38 +03:00
Tal Aloni
fb06e4df46 Corrected typo 2017-07-11 16:14:51 +03:00
Tal Aloni
42f6e23107 GSSProvider: Marked core methods as virtual to improve extensibility 2017-06-25 17:50:42 +03:00
Tal Aloni
1b024acf65 SMBServer / NTFileSystemAdapter: Renamed event from OnLogEntry to LogEntryAdded 2017-06-22 17:56:57 +03:00
Tal Aloni
b5db0ac4b8 FileSystemShare: Renamed event from OnAccessRequest to AccessRequested 2017-06-22 17:55:15 +03:00
Tal Aloni
fb7d6d4bc8 BigEndianReader / Writer: Added ReadUInt24 / WriteUInt24 methods 2017-06-17 13:41:06 +03:00