summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-02-13 10:13:28 +1100
committerAndrew Tridgell <tridge@samba.org>2008-02-13 10:13:28 +1100
commite94d710b0b959d8e69eb02ef0704ebcff56485fb (patch)
treebbae2eaad5468191c4d578f0794985837c2faa63 /source4/ntvfs
parentcd2b003abaaaed5054db6e266dbfccf7e1193932 (diff)
downloadsamba-e94d710b0b959d8e69eb02ef0704ebcff56485fb.tar.gz
samba-e94d710b0b959d8e69eb02ef0704ebcff56485fb.tar.bz2
samba-e94d710b0b959d8e69eb02ef0704ebcff56485fb.zip
updated SMB2 tcon as per WSPP docs
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/ntvfs/ntvfs.h b/source4/ntvfs/ntvfs.h
index fe5f956426..a708dbff51 100644
--- a/source4/ntvfs/ntvfs.h
+++ b/source4/ntvfs/ntvfs.h
@@ -32,9 +32,11 @@ struct ntvfs_module_context;
struct ntvfs_request;
/* each backend has to be one one of the following 3 basic types. In
- * earlier versions of Samba backends needed to handle all types, now
- * we implement them separately. */
-enum ntvfs_type {NTVFS_DISK, NTVFS_PRINT, NTVFS_IPC};
+ earlier versions of Samba backends needed to handle all types, now
+ we implement them separately.
+ The values 1..3 match the SMB2 SMB2_SHARE_TYPE_* values
+ */
+enum ntvfs_type {NTVFS_DISK=1, NTVFS_IPC=2, NTVFS_PRINT=3};
/* the ntvfs operations structure - contains function pointers to
the backend implementations of each operation */