Commit graph

638 commits

Author SHA1 Message Date
Tal Aloni
1765bb277d SMB1FileStore: Use the SMB1Client.Unicode property and SMB_FLAGS2_UNICODE flag instead of assuming the server supports Unicode 2017-10-01 14:58:45 +03:00
Tal Aloni
e1c5cf8b54 SMB1Client: Store and expose server capabilities 2017-10-01 14:58:45 +03:00
Tal Aloni
b3af07e5e4 SMB2: Added helper methods to QUERY_INFO response implementation 2017-10-01 14:58:44 +03:00
Tal Aloni
966085c841 SMB1: Transaction2 subcommands: Added support for pass-through Information Levels 2017-10-01 14:58:39 +03:00
Tal Aloni
42f00b4740 Minor code refactoring: Use a single ImpersonationLevel enumeration instead of one for SMB1 and another for SMB2 2017-09-30 10:59:40 +03:00
Tal Aloni
de4ab95d80 Minor code refactoring 2017-09-30 10:54:51 +03:00
Tal Aloni
7eda93f5da Server: Corrected synchronization of SMB1Session and SMB2Session TreeID and FileID allocation methods 2017-09-28 23:21:19 +03:00
Tal Aloni
5276088159 Server: SMB2: SMB2Session: Fixed KeyNotFoundException when calling the DisconnectTree method 2017-09-28 23:21:19 +03:00
Tal Aloni
fcd737a1f4 Server: Prevented several OpenFileObject members from being changed after instantiation and added OpenedDT property 2017-09-28 23:21:19 +03:00
Tal Aloni
89a9238d8a Server: Bugfix: Some connection resources were not released after send error in some cases 2017-09-28 23:21:19 +03:00
Tal Aloni
d753135620 Server: Prevented several ConnectionState members from being changed after instantiation 2017-09-28 23:21:18 +03:00
Tal Aloni
107d755269 SMB Server v1.2.9 2017-09-28 23:21:06 +03:00
Tal Aloni
d7a16a5217 SMB1: Added implementation of TRANS2_SET_FS_INFORMATION request and response 2017-09-27 15:34:48 +03:00
Tal Aloni
10882b2493 SMB1: Transaction2SubcommandName: Added TRANS2_SET_FS_INFORMATION 2017-09-27 15:34:48 +03:00
Tal Aloni
420c2264d0 SMB1: NTTransactSubcommandName: Added NT_TRANSACT_QUERY_QUOTA and NT_TRANSACT_SET_QUOTA 2017-09-27 15:34:48 +03:00
Tal Aloni
e8f3545729 SMB1: Improved implementation of TRANS2_QUERY_FILE_INFORMATION and TRANS2_QUERY_PATH_INFORMATION 2017-09-27 15:34:48 +03:00
Tal Aloni
2d8d17437c NTDirectoryFileSystem: Added NtSetVolumeInformationFile, NtQuerySecurityObject and NtSetSecurityObject external method declarations 2017-09-27 15:34:48 +03:00
Tal Aloni
b358e4865d INTFileStore: Added SetFileSystemInformation method 2017-09-27 15:34:47 +03:00
Tal Aloni
a17d827076 Server: Pass GetSecurityInformation and SetSecurityInformation requests to the underlying object store 2017-09-27 15:34:47 +03:00
Tal Aloni
204c912074 SMB2: Improved ERROR response implementation 2017-09-27 15:34:47 +03:00
Tal Aloni
e6e7bbe412 INTFileStore: Added GetSecurityInformation and SetSecurityInformation methods 2017-09-27 15:34:43 +03:00
Tal Aloni
eb4e32dc59 NTStatus: Added STATUS_INVALID_DEVICE_REQUEST 2017-09-27 15:33:58 +03:00
Tal Aloni
de355f93d8 SMB1: Renamed NT_TRANSACT_SET_SECURITY_DESC request and added response implementation 2017-09-26 00:03:01 +03:00
Tal Aloni
bf0295b697 SMB1: Improved NT_TRANSACT_QUERY_SECURITY_DESC response implementation 2017-09-26 00:02:58 +03:00
Tal Aloni
8c19d682ff NTFileStore: Completed implementation of SECURITY_DESCRIPTOR 2017-09-25 23:17:00 +03:00
Tal Aloni
72ee2ce365 SMB2: Improved implementation of SET_INFO Request 2017-09-25 23:09:46 +03:00
Tal Aloni
7913b5bd9e SMB2: Improved implementation of SMB2_CREATE_CONTEXT 2017-09-25 23:09:21 +03:00
Tal Aloni
4e71bea5df SMB2: Improved implementation of QUERY_INFO request and response 2017-09-25 18:54:13 +03:00
Tal Aloni
371329d3e0 NTFileStore: SecurityDescriptor: Added Length property 2017-09-25 18:54:13 +03:00
Tal Aloni
8258f87440 Minor logging improvements 2017-09-25 18:54:03 +03:00
Tal Aloni
5e71f927a2 Improved exception messages 2017-09-25 18:43:25 +03:00
Tal Aloni
e287129571 SMB1: Improved implementation of TRANS2_GET_DFS_REFERRAL request and response 2017-09-25 17:45:26 +03:00
Tal Aloni
2646b952ea Moved DFS structures to DFS directory 2017-09-25 17:43:37 +03:00
Tal Aloni
e84917b83d NTFileStore: Moved ObjectIDBufferType1 2017-09-25 17:27:41 +03:00
Tal Aloni
10154435a1 NTFileStore: Moved security related structures to SecurityInformation directory 2017-09-25 17:25:26 +03:00
Tal Aloni
4606dd4330 NTFileStore: Added SecurityInformation enum 2017-09-25 17:15:29 +03:00
Tal Aloni
ebcb2cf20a Server: Minor logging improvement 2017-09-25 15:04:24 +03:00
Tal Aloni
eb92e824ac SPNEGO: Minor code refactoring 2017-09-23 16:38:42 +03:00
Tal Aloni
4ef809ea68 SPNEGO: Bugfix: negTokenResp is allowed to have a generic GSSAPI header 2017-09-23 16:38:42 +03:00
Tal Aloni
6a03cfd952 Client: Throw Exception if attemping to logoff when the client is not connected 2017-09-23 16:38:41 +03:00
Tal Aloni
2b3cee14a5 Client: NTLMAuthenticationHelper: Bugfix: The generic GSSAPI header was not appended to negTokenInit 2017-09-23 16:38:41 +03:00
Tal Aloni
873720d6ff Client: ISMBClient interface added 2017-09-23 16:38:37 +03:00
Tal Aloni
ad996ed934 Client: ISMBFileStore interface added 2017-09-23 11:49:01 +03:00
Tal Aloni
38fa17acce Client: Bugfix: The tree connection to the named pipe share that was created in the ListShares method was not being terminated 2017-09-23 01:42:53 +03:00
Tal Aloni
4e3e861d91 Client: SMB1FileStore, SMB2FileStore: Added Disconnect method 2017-09-22 12:49:20 +03:00
Tal Aloni
d15db358cb SMB2Client: Implemented additional client functions 2017-09-22 12:08:50 +03:00
Tal Aloni
a71b97a707 SMB2: IOCtlRequest: OutputOffset field was set incorrectly in some cases 2017-09-22 12:05:53 +03:00
Tal Aloni
a0f8e0c19e SMB2: WriteRequest: DataOffset field was set incorrectly in some cases 2017-09-22 12:05:08 +03:00
Tal Aloni
4043bfb5f2 Client: Preliminary SMB2 client implementation 2017-09-21 12:41:54 +03:00
Tal Aloni
3c29d05aa3 SMB1Client: Minor code refactoring 2017-09-21 12:24:10 +03:00