libcli:smb: define DH2Q and DH2C tags for smb2 extra create blobs
authorMichael Adam <obnox@samba.org>
Mon, 27 Feb 2012 01:17:20 +0000 (02:17 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 3 Mar 2012 16:03:06 +0000 (17:03 +0100)
These are the tags for the SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2
and SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2, the second version
of the SMB2_CREATE_DURABLE_HANDLE_REQUEST (DHnQ) and
SMB2_CREATE_DURABLE_HANDLE_RECONNECT (DHnC), which are only
available for SMB 2.2 (and newer).

libcli/smb/smb2_constants.h

index b8180cec6c4026d43da53bdd6d9f002469b3ed46..e1f2419fb9f2bc89736cac81d6853136359bcb93 100644 (file)
 #define SMB2_CREATE_TAG_TWRP "TWrp"
 #define SMB2_CREATE_TAG_QFID "QFid"
 #define SMB2_CREATE_TAG_RQLS "RqLs"
+#define SMB2_CREATE_TAG_DH2Q "DH2Q"
+#define SMB2_CREATE_TAG_DH2C "DH2C"
 
 /* SMB2 notify flags */
 #define SMB2_WATCH_TREE 0x0001