mirror of
https://github.com/obarthel/amiga-smbfs.git
synced 2025-12-08 14:58:35 +00:00
Version bump
This commit is contained in:
@@ -18,7 +18,11 @@ struct smb_server
|
||||
enum smb_protocol protocol; /* The protocol this
|
||||
connection accepts. */
|
||||
|
||||
word max_xmit;
|
||||
dword max_buffer_size; /* Maximum SMB message size, including
|
||||
message header, parameter and
|
||||
data blocks */
|
||||
dword max_raw_size; /* Maximum SMB_COM_WRITE_RAW and
|
||||
SMB_COM_READ_RAW data. */
|
||||
int max_recv; /* added by CS */
|
||||
word server_uid;
|
||||
word tid;
|
||||
@@ -31,6 +35,7 @@ struct smb_server
|
||||
unsigned char *packet;
|
||||
|
||||
int security_mode;
|
||||
int crypt_key_length;
|
||||
unsigned char crypt_key[8];
|
||||
|
||||
struct smba_server * abstraction;
|
||||
@@ -44,4 +49,20 @@ struct smb_server
|
||||
int raw_smb;
|
||||
};
|
||||
|
||||
#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. */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -133,6 +133,8 @@
|
||||
#define smb_vwv12 61
|
||||
#define smb_vwv13 63
|
||||
#define smb_vwv14 65
|
||||
#define smb_vwv15 67
|
||||
#define smb_vwv16 69
|
||||
|
||||
/* these are the trans2 sub fields for primary requests */
|
||||
#define smb_tpscnt smb_vwv0
|
||||
|
||||
Reference in New Issue
Block a user