Updated to version 1.135

Please keep in mind that this is still a development version and might surprise you (not necessarily in a good way).

Do not let me discourage you to build and test this version, although there will be some risks involved such as data corruption or loss of data.
This commit is contained in:
obarthel
2018-05-21 14:20:09 +02:00
parent 6773b8dcb4
commit 8807ed9641
11 changed files with 382 additions and 162 deletions
-22
View File
@@ -73,26 +73,4 @@ struct smb_server
char * native_os;
};
#define NEGOTIATE_USER_SECURITY 0x01 /* If set, the server supports
only user level access control.
If clear, the server supports
only share level access
control. */
#define NEGOTIATE_ENCRYPT_PASSWORDS 0x02 /* If set, the server supports
challenge/response
authentication. If clear,
the server supports only
plaintext password
authentication. */
#define CAP_RAW_MODE 0x00000001 /* The server supports SMB_COM_WRITE_RAW
and SMB_COM_READ_RAW requests. */
#define CAP_LARGE_READX 0x00004000 /* The server permits SMB_COM_READ_ANDX
to read up to 65535 bytes. */
#define CAP_LARGE_WRITEX 0x00008000 /* The server permits SMB_COM_WRITE_ANDX
to write up to 65535 bytes. */
#endif
+32 -1
View File
@@ -306,6 +306,37 @@
#define ATTR_NO_BUFFERING 0x20000000
#define ATTR_WRITE_THROUGH 0x80000000
/* These are used by SMBsesssetupX */
#define NEGOTIATE_USER_SECURITY 0x01 /* If set, the server supports
only user level access control.
If clear, the server supports
only share level access
control. */
#define NEGOTIATE_ENCRYPT_PASSWORDS 0x02 /* If set, the server supports
challenge/response
authentication. If clear,
the server supports only
plaintext password
authentication. */
#define CAP_RAW_MODE 0x00000001 /* The server supports SMB_COM_WRITE_RAW
* and SMB_COM_READ_RAW requests.
*/
#define CAP_LARGE_READX 0x00004000 /* The server permits SMB_COM_READ_ANDX
* to read up to 65535 bytes.
*/
#define CAP_LARGE_WRITEX 0x00008000 /* The server permits SMB_COM_WRITE_ANDX
* to write up to 65535 bytes.
*/
#define CAP_LARGE_FILES 0x00000008
#define CAP_NT_FIND 0x00000200
#define CAP_UNIX 0x00800000
/* These are used by SMBntcreateX */
#define FILE_READ_DATA 0x00000001
#define FILE_WRITE_DATA 0x00000002
@@ -317,7 +348,7 @@
#define FILE_SHARE_READ 0x00000001
#define FILE_SHARE_WRITE 0x00000002
#define FILE_SHARE_DELETE 0x00000004
#define FILE_NON_DIRECTORY_FILE 0x00000040
#define FILE_RANDOM_ACCESS 0x00000800