Commit graph

601 commits

Author SHA1 Message Date
Tal Aloni
a439555eee Updated Readme.md 2017-02-11 12:53:28 +02:00
Tal Aloni
3769af188b Updated documentation 2017-02-11 12:40:39 +02:00
Tal Aloni
6023753ecc SMBServer v1.1.2 2017-02-11 12:26:50 +02:00
Tal Aloni
fb43fb966d INTFileStore interface was added for better separation between the object store layer and the SMB layer 2017-02-11 11:37:17 +02:00
Tal Aloni
cc170322ed Renamed variable 2017-02-11 11:06:21 +02:00
Tal Aloni
7c107344a2 NTFileSystemHelper: Return STATUS_OBJECT_PATH_INVALID when FILE_DIRECTORY_FILE is specified and a path component is not a directory 2017-02-11 10:52:14 +02:00
Tal Aloni
a23d2d86f9 Minor code refactoring 2017-02-11 10:49:14 +02:00
Tal Aloni
bb0cff643a Return STATUS_DIRECTORY_NOT_EMPTY when trying to delete a folder that is not empty 2017-02-11 01:32:32 +02:00
Tal Aloni
353460a976 NTFileSystemHelper: Rename will now return STATUS_OBJECT_NAME_COLLISION if the destination exists 2017-02-11 01:25:59 +02:00
Tal Aloni
7e6ad281b1 OpenAndXHelper will now call NTFileSystemHelper.CreateFile 2017-02-11 01:21:23 +02:00
Tal Aloni
756fbb96fa NTFileSystemHelper: CreateFile now returns FileStatus 2017-02-11 01:17:46 +02:00
Tal Aloni
1b31200dc3 Minor code refactoring 2017-02-11 01:14:48 +02:00
Tal Aloni
36353c9d08 Moved helper methods to NTFileStoreHelper, Moved IOExceptionHelper 2017-02-10 19:53:54 +02:00
Tal Aloni
54c8a6fa1f SMB_COM_NT_CREATE_ANDX extended response: Renamed FileStatus to FileStatusFlags 2017-02-10 19:25:44 +02:00
Tal Aloni
63db204ec4 NTFileSystemHelper: Added comment 2017-02-10 19:23:10 +02:00
Tal Aloni
6f6eb59b5d NTFileSystemHelper: Return FileNameInformation / FileAllInformation 2017-02-10 19:17:29 +02:00
Tal Aloni
ce96106b5b SMB1 helpers: Improved code readability 2017-02-10 18:26:40 +02:00
Tal Aloni
30f0a641d2 AccessMask: Added implicit conversion from DirectoryAccessMask 2017-02-10 17:17:27 +02:00
Tal Aloni
7f83c70a45 FileAllInformation: Minor improvement 2017-02-10 17:16:36 +02:00
Tal Aloni
c72bb2e348 SMB_QUERY_FILE_BASIC_INFO: Corrected field names 2017-02-10 17:16:06 +02:00
Tal Aloni
29499e17ef SMBLibrary: Moved SMB1 object store structures and enums to SMB1FileStore 2017-02-10 13:07:04 +02:00
Tal Aloni
a8ccae65ad SMB1: Improved FindInformation / QueryFSInformation implementations 2017-02-10 12:25:07 +02:00
Tal Aloni
a3017c1b50 Removed LANMAN2.0 structure 2017-02-10 12:22:49 +02:00
Tal Aloni
5b70c6308d SMB2: Create / Close response: changed AllocationSize and EndOfFile fields from UInt64 to Int64 to match with FileInformation structures 2017-02-10 10:33:37 +02:00
Tal Aloni
728a076875 Corrected object store related size fields from UInt64 to Int64 2017-02-10 10:29:03 +02:00
Tal Aloni
2ea785159e FileNetworkOpenInformation: IsDirectory property added 2017-02-10 09:25:36 +02:00
Tal Aloni
26101cc0ae SMB1: SetInformation2Request: Moved SMBDateTime helper methods to SMB1Helper 2017-02-10 09:23:05 +02:00
Tal Aloni
2438fa1644 SMB1Helper: Removed unused methods 2017-02-10 09:18:43 +02:00
Tal Aloni
c57fed1232 Removed LANMAN2.0 FileInformation structures 2017-02-10 01:38:33 +02:00
Tal Aloni
dabc3260be SMB1: SMB_COM_QUERY_INFORMATION Response: Bugfix: LastWriteTime is UTime 2017-02-10 01:36:34 +02:00
Tal Aloni
4be937e7c1 NTFileSystemHelper.CreateFile: Corrected FILE_SUPERSEDE implementation 2017-02-09 15:28:57 +02:00
Tal Aloni
a9f92df47b Code refactoring: Added NTFileSystemHelper.ToNTStatus method to translate IFileSystem exceptions to NTStatus 2017-02-09 14:28:37 +02:00
Tal Aloni
fd26380dab API improvement: FileSystemShare: Added OnAccessRequest event that allows the subscriber to manage read / write permissions 2017-02-09 14:22:52 +02:00
Tal Aloni
f9ad9f9b5e NTFileSystemHelper: Improved ToFileAccess and ToFileShare implementations 2017-02-09 14:08:21 +02:00
Tal Aloni
f1965ec7ca IFileSystem: Added exception documentation 2017-02-09 12:54:19 +02:00
Tal Aloni
3baf91238d Moved NT file store specific enums / structures to NTFileStore 2017-02-09 12:45:13 +02:00
Tal Aloni
363e8a6b98 ACE: Corrected summary 2017-02-09 11:16:53 +02:00
Tal Aloni
9d4117347e FileSystemShare: Modified constructor 2017-02-08 22:04:07 +02:00
Tal Aloni
e4506c5267 NTFileSystemHelper: CreateFile: Honor DesiredAccess.MAXIMUM_ALLOWED 2017-02-08 22:02:38 +02:00
Tal Aloni
724fdf6e9b CreateRequest: Corrected summary 2017-02-08 21:57:29 +02:00
Tal Aloni
bd76e6e5a2 Implemented additional FileInformation structures 2017-02-07 14:33:35 +02:00
Tal Aloni
566f7714ba Moved FileAttributes, FileInformationClass and CompressionFormat to Enums\FileInformation 2017-02-07 14:27:52 +02:00
Tal Aloni
d057d96ab9 SMB_EXT_FILE_ATTR: improved readability 2017-02-07 14:12:51 +02:00
Tal Aloni
bef9bd6e69 FileTimeHelper.ReadNullableFileTime: throw InvalidDataException if FILETIME is negative 2017-02-07 14:11:44 +02:00
Tal Aloni
3ed2bbcd1c SMB_COM_NT_CREATE_ANDX Response: Added support for relative time (negative value) as specified in MS-CIFS 2017-02-07 14:08:02 +02:00
Tal Aloni
c46e638879 Improved QueryInformation structures implementation 2017-02-07 14:03:44 +02:00
Tal Aloni
dfb8822a4f Corrected SMB_FEA / SMB_FEA_LIST implementation 2017-02-07 13:55:56 +02:00
Tal Aloni
9f79f939b6 Corrected TRANS2_FIND_FIRST2 / TRANS2_FIND_NEXT2 requests implementation when InformationLevel = SMB_INFO_QUERY_EAS_FROM_LIST 2017-02-07 13:54:25 +02:00
Tal Aloni
794b1b30e1 Added SMB_GEA_LIST / SMB_GEA structures 2017-02-07 13:52:44 +02:00
Tal Aloni
cd03f7c946 Corrected SPNEGO implementation 2017-02-04 21:21:46 +02:00