summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-07 05:49:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:14 -0500
commitbca29ddbba62320204ac9eb098cdaac9a6b03d80 (patch)
tree12abeb92895cd7099e54595d31103c8e56e22bb1 /source3/include
parentb86758ebcc9d017594bf16041d4e83b6d8b27ff3 (diff)
downloadsamba-bca29ddbba62320204ac9eb098cdaac9a6b03d80.tar.gz
samba-bca29ddbba62320204ac9eb098cdaac9a6b03d80.tar.bz2
samba-bca29ddbba62320204ac9eb098cdaac9a6b03d80.zip
r22122: Start to fix csc issue with Vista. Make smbd support
the extended 7 word response for tconX rather than the 3 word one we supported previously. Jeremy. (This used to be commit 137953226a2d691259e7e84d6ae0dc24755e5a3a)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 27c1af1f82..e9352a2fb1 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1199,6 +1199,10 @@ struct bitmap {
#define SMB_SUPPORT_SEARCH_BITS 0x0001
#define SMB_SHARE_IN_DFS 0x0002
+/* Share specific rights. */
+#define SHARE_ALL_ACCESS 0x001F01FF
+#define SHARE_READ_ONLY 0x001200A9
+
/* Named pipe write mode flags. Used in writeX calls. */
#define PIPE_RAW_MODE 0x4
#define PIPE_START_MESSAGE 0x8
@@ -1480,6 +1484,9 @@ char *strdup(char *s);
#define FLAGS2_WIN2K_SIGNATURE 0xC852 /* Hack alert ! For now... JRA. */
+/* TCONX Flag (smb_vwv2). */
+#define TCONX_FLAG_EXTENDED_RESPONSE 0x8
+
/* Capabilities. see ftp.microsoft.com/developr/drg/cifs/cifs/cifs4.txt */
#define CAP_RAW_MODE 0x0001