summaryrefslogtreecommitdiff
path: root/source3/modules/wscript_build
diff options
context:
space:
mode:
authorUri Simchoni <uri@samba.org>2015-11-04 08:44:29 +0200
committerJeremy Allison <jra@samba.org>2015-11-04 22:15:24 +0100
commitb37ecbd06d7a625d6889a9e8eaa66c807bb2a839 (patch)
tree397e0a3b4525b194ea0e344580874d59062c6efd /source3/modules/wscript_build
parent89940f39c6d2db03b3a468942d686e762f126f9f (diff)
downloadsamba-b37ecbd06d7a625d6889a9e8eaa66c807bb2a839.tar.gz
vfs_offline: add vfs_offline module
This module marks all file in the share as offline. It can be useful for shares mounted on top of a remote file system (either through a samba VFS module or via FUSE). Offline files change the behavior of Windows explorer, and prevent it from peeking inside folders just for the sake of drawing a nice icon of them. This greatly reduces the number of requests Windows Explorer makes, and improves user experience when dealing with remote file systems. The offline bit also has an effect on the behavior of Windows redirector. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules/wscript_build')
-rw-r--r--source3/modules/wscript_build7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index fef412a5f31..be1de50beca 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -499,3 +499,10 @@ bld.SAMBA3_MODULE('vfs_vxfs',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_vxfs'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_vxfs'))
+
+bld.SAMBA3_MODULE('vfs_offline',
+ subsystem='vfs',
+ source='vfs_offline.c',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_offline'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_offline'))