git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c5d288
)
libcli:smb: upgrade SMB2_CAP_ALL to include the newly known caps
author
Michael Adam
<obnox@samba.org>
Wed, 29 Feb 2012 23:59:54 +0000
(
00:59
+0100)
committer
Michael Adam
<obnox@samba.org>
Sat, 3 Mar 2012 16:03:06 +0000
(17:03 +0100)
libcli/smb/smb2_constants.h
patch
|
blob
|
history
diff --git
a/libcli/smb/smb2_constants.h
b/libcli/smb/smb2_constants.h
index 9408be391b9d916b332156ed0c19dde8f1e21e98..eaf1958ac408286aeac16bd5cd3d0c731dc05dbc 100644
(file)
--- a/
libcli/smb/smb2_constants.h
+++ b/
libcli/smb/smb2_constants.h
@@
-94,7
+94,14
@@
#define SMB2_CAP_ENCRYPTION 0x00000040 /* only in dialect >= 0x222 */
/* so we can spot new caps as added */
-#define SMB2_CAP_ALL SMB2_CAP_DFS
+#define SMB2_CAP_ALL (\
+ SMB2_CAP_DFS | \
+ SMB2_CAP_LEASING | \
+ SMB2_CAP_LARGE_MTU | \
+ SMB2_CAP_MULTI_CHANNEL | \
+ SMB2_CAP_PERSISTENT_HANDLES | \
+ SMB2_CAP_ENCRYPTION)
+
/* SMB2 session flags */
#define SMB2_SESSION_FLAG_IS_GUEST 0x0001