Commit graph

764 commits

Author SHA1 Message Date
Tal Aloni
f015b064d2 NTFileSystemAdapter: Bugfix: Do not make up a short name 2018-11-23 23:33:43 +02:00
Tal Aloni
4c29d5a402 NTFileSystemAdapter: ToNTStatus: Return STATUS_OBJECT_PATH_INVALID when Win32 error code is ERROR_BAD_PATHNAME 2018-11-23 23:31:05 +02:00
Tal Aloni
c4406b6a8f Win32Error: Added ERROR_BAD_PATHNAME enum value 2018-11-23 23:28:40 +02:00
Tal Aloni
dfb37a818f FileStreamInformation: WriteBytes: Set the value NextEntryOffset for each FileStreamEntry 2018-11-23 23:22:00 +02:00
Tal Aloni
6d562c41e9 SMB Server application: Added SettingsHelper class to handle settings logic 2018-10-31 23:02:39 +02:00
Tal Aloni
ff368056c5 Updated Utilities 2018-10-31 22:51:41 +02:00
Tal Aloni
4e850aa38a NTFileSystemAdapter: Set CasePreservedNamed flag when querying FileFsAttributeInformation 2018-10-31 22:51:32 +02:00
Tal Aloni
7aa5cc1283 Server: Changed some variables from const to static readonly 2018-08-23 11:42:04 +03:00
Tal Aloni
0227bf9528 SMB Server v1.3.4 2018-06-02 00:10:19 +03:00
Tal Aloni
ee5e75f21e SMB Server application: Improved documentation 2018-06-02 00:09:28 +03:00
Tal Aloni
fc048b1232 ServerService, WorkstationService: Unsupported OpNums and Levels are now reported back to the client instead of NotImplementedException 2018-05-17 14:36:55 +03:00
Tal Aloni
3289c0e333 RPC: DataRepresentationFormat: Added constructor 2018-05-17 14:31:34 +03:00
Tal Aloni
0bbbcb2ace RPC: FaultPDU is now using FaultStatus enum 2018-05-17 14:31:00 +03:00
Tal Aloni
7d1555af8b RPCPDU: PacketType variable is now protected 2018-05-17 14:12:19 +03:00
Tal Aloni
ca8bed1037 Services: Added UnsupportedOpNumException 2018-05-17 13:44:37 +03:00
Tal Aloni
403669056d Win32Error: Added ERROR_NOT_SUPPORTED and ERROR_INVALID_LEVEL 2018-05-17 13:43:31 +03:00
Tal Aloni
c024168e12 RPC: FaultPDU parameterless constructor will now set Data to an empty byte array 2018-05-17 13:42:42 +03:00
Tal Aloni
beef71975b Minor improvements to ServerService and WorkstationService structures
ShareInfo: Removed unneccesary lines
2018-05-17 13:32:37 +03:00
Tal Aloni
d505998a25 Client: SMB2FileStore: SetFileInformation implementation 2018-04-09 14:26:17 +03:00
Tal Aloni
3f733c352d Client: Fixed compatibility issue with Windows 8.1 / 10 2018-03-28 17:39:49 +03:00
Tal Aloni
32edb7993f Added NegTokenInit2 implementation 2018-01-04 20:30:22 +02:00
Tal Aloni
0494fd758f Minor improvements to SimpleProtectedNegotiationTokenInit implementation 2018-01-04 19:39:59 +02:00
Tal Aloni
040b92b079 Client: Login will now return SEC_E_INVALID_TOKEN if an invalid token is returned from the server instead of throwing NullReferenceException 2018-01-03 15:13:52 +02:00
Tal Aloni
06982c0f0f Added ShareAccess.None enum value 2017-12-19 09:53:32 +02:00
Tal Aloni
0cad00ad82 Minor logging improvements 2017-12-18 13:15:26 +02:00
Tal Aloni
23db301a21 Renamed ShareAccess enum members 2017-12-18 11:31:42 +02:00
Tal Aloni
4845ffd86a SMB Server v1.3.3 2017-12-13 23:51:25 +02:00
Tal Aloni
24a65d0a03 Bugfix: FormatException was thrown upon InvalidDataException in some cases 2017-12-13 23:48:27 +02:00
Tal Aloni
0f89729085 Server: Added an optional dead connection detection mechanism instead of simply disconnecting them after a specified duration of inactivity 2017-12-13 23:46:46 +02:00
Tal Aloni
7c31666bc3 Client: Discard all unsolicited responses except OpLock break 2017-12-13 20:24:11 +02:00
Tal Aloni
5637bb3b9c Server: Added API to terminate a specific connection 2017-12-13 20:23:41 +02:00
Tal Aloni
bb8cadee93 Server: Maintain connection last send time 2017-12-13 20:23:18 +02:00
Tal Aloni
765443591f Minor code refactoring 2017-12-13 20:20:08 +02:00
Tal Aloni
04ff2bc40a SMB Server v1.3.2 2017-12-13 20:09:33 +02:00
Tal Aloni
2c148aa95a Added an optional mechanism to disconnect connections after a specified duration of inactivity 2017-12-10 11:43:18 +02:00
Tal Aloni
125df899cb Maintain connection creation time and last receive time 2017-12-08 18:36:17 +02:00
Tal Aloni
eb5989eb94 Use UTC instead of local time for DateTime values returned by the API 2017-12-08 18:36:16 +02:00
Tal Aloni
9cb4d12546 LoginCounter: Use UTC instead of local time 2017-12-08 18:36:16 +02:00
Tal Aloni
150702275b NTCreateFlags: Minor changes 2017-12-08 18:36:16 +02:00
Tal Aloni
5036490fbf SMB_COM_NT_CREATE_ANDX response and extended response bugfixes 2017-12-08 18:35:56 +02:00
Tal Aloni
6d17dbabd6 SMB_DATE, SMB_TIME, UTime: Set DateTimeKind to Local 2017-12-08 14:44:39 +02:00
Tal Aloni
083d237ca6 NTCreateAndXRequest: Removed duplicate functionality 2017-12-08 14:33:39 +02:00
Tal Aloni
7159909bc9 SMB_COM_OPEN_ANDX request and response: Implemented client related functionality 2017-12-08 14:33:08 +02:00
Tal Aloni
84a771641e Bugfixes and improvements to the WriteBytes methods of several SMB1 structures 2017-12-08 14:21:27 +02:00
Tal Aloni
387b3b6709 Minor code refactoring 2017-12-08 14:20:04 +02:00
Tal Aloni
74b4a83635 SMB1Helper: ReadNullableFileTime: Return DateTime in UTC for negative values 2017-12-08 12:46:37 +02:00
Tal Aloni
2160419925 SMB Server v1.3.1 2017-10-08 20:28:33 +03:00
Tal Aloni
194fb9d45e SMB1FileStore: Completed implementation of GetFileInformation 2017-10-08 20:17:29 +03:00
Tal Aloni
05d7fa0d5b QueryInformationHelper: Added ToFileInformationLevel and ToFileInformation methods 2017-10-08 20:08:44 +03:00
Tal Aloni
b90d61949d Renamed QueryFileExtendedAttributeInfo to QueryFileEaInfo 2017-10-08 20:05:44 +03:00