summaryrefslogtreecommitdiffstats
path: root/source/libcli/smb2/smb2.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-25 05:23:55 +0000
committerAndrew Tridgell <tridge@samba.org>2005-11-25 05:23:55 +0000
commit2b4d9643be36624cf5f6ffd86481e4f8fd84fdcb (patch)
tree559d8cc35125509c95f5fd2ffa74558772d41c23 /source/libcli/smb2/smb2.h
parentf66b1eb8c0e732a853342e52c9e52f6f77c6bd07 (diff)
downloadsamba-2b4d9643be36624cf5f6ffd86481e4f8fd84fdcb.tar.gz
samba-2b4d9643be36624cf5f6ffd86481e4f8fd84fdcb.tar.xz
samba-2b4d9643be36624cf5f6ffd86481e4f8fd84fdcb.zip
r11888: - added SMB2 trans support
- added session key to SMB2 - renamed 'unknown2' in create to 'impersonation'
Diffstat (limited to 'source/libcli/smb2/smb2.h')
-rw-r--r--source/libcli/smb2/smb2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/libcli/smb2/smb2.h b/source/libcli/smb2/smb2.h
index 0ff8b87143d..7b6824f4d9a 100644
--- a/source/libcli/smb2/smb2.h
+++ b/source/libcli/smb2/smb2.h
@@ -66,6 +66,7 @@ struct smb2_session {
struct smb2_transport *transport;
struct gensec_security *gensec;
uint64_t uid;
+ DATA_BLOB session_key;
};
@@ -164,6 +165,7 @@ struct smb2_request {
#define SMB2_OP_CLOSE 0x06
#define SMB2_OP_READ 0x08
#define SMB2_OP_WRITE 0x09
+#define SMB2_OP_TRANS 0x0b
#define SMB2_OP_CANCEL 0x0c
#define SMB2_OP_FIND 0x0e
#define SMB2_OP_NOTIFY 0x0f