summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-05-05 18:12:07 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-08 01:22:17 +0200
commitab913d17681183d57f21faf7871ba30b5ae41239 (patch)
treeb67721e3e4b1cf8f95807ccf19c1f92846a7f145 /source3/include
parenta0cf7bae60fed5a30a16a99697f74b431456029e (diff)
downloadsamba-ab913d17681183d57f21faf7871ba30b5ae41239.tar.gz
samba-ab913d17681183d57f21faf7871ba30b5ae41239.tar.bz2
samba-ab913d17681183d57f21faf7871ba30b5ae41239.zip
s3:libsmb: add smb2cli_negprot*()
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index e94c63e51f..86f3d5ec97 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -145,6 +145,17 @@ struct cli_state {
uint32_t pid;
uint32_t tid;
uint64_t uid;
+
+ /* SMB2 negprot */
+ uint16_t security_mode;
+ uint16_t dialect_revision;
+ struct GUID server_guid;
+ uint16_t server_capabilities;
+ uint32_t max_transact_size;
+ uint32_t max_read_size;
+ uint32_t max_write_size;
+ struct timespec system_time;
+ struct timespec server_start_time;
} smb2;
};