Commit graph

210 commits

Author SHA1 Message Date
Tal Aloni
c60ee93dd9 Renamed SMBLibrary.Authentication.Win32 to SMBLibrary.Win32.Security 2017-02-15 13:11:14 +02:00
Tal Aloni
d7e33e465d Windows Authentication: Improved implementation 2017-02-13 12:23:39 +02:00
Tal Aloni
acea85ca8c Win32 NetworkAPI: Fixed compatibility with 64-bit environment 2017-02-12 19:36:03 +02:00
Tal Aloni
2b6351449b SMB1: Fixed InvalidCastException 2017-02-12 16:00:26 +02:00
Tal Aloni
4842c17f78 Added a SecurityContext class which will be passes to the underlying object store 2017-02-11 19:25:14 +02:00
Tal Aloni
3e158fb855 Added DeviceIOControl to the INTFileStore interface, relevant functionality moved to the object store layer 2017-02-11 15:31:08 +02:00
Tal Aloni
0d5898bb60 SMB2: Requests to the NamedPipeStore will not be blocked at the SMB layer 2017-02-11 13:12:12 +02:00
Tal Aloni
384efe97e7 SMB1: Transaction requests to the NamedPipeStore will not be blocked at the SMB layer 2017-02-11 13:10:45 +02:00
Tal Aloni
fbea16545f SMB1: Requests to the NamedPipeStore will not be blocked at the SMB layer 2017-02-11 13:01:14 +02:00
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