summaryrefslogtreecommitdiff
path: root/file_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-16 19:01:15 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-18 05:39:01 +0200
commit538893d183e967448df5aeb41b99a8af5116c5b7 (patch)
treeadab6cb9c906f37e8af056df06f63552bdfa2781 /file_server
parent628a24172f3bb759324582c439ba9d081aa4d392 (diff)
downloadsamba-538893d183e967448df5aeb41b99a8af5116c5b7.tar.gz
s3fs: Use xattr_tdb format for xattr storage
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104
Diffstat (limited to 'file_server')
-rw-r--r--file_server/file_server.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/file_server/file_server.c b/file_server/file_server.c
index d3eb53c9a29..ad05fca7d10 100644
--- a/file_server/file_server.c
+++ b/file_server/file_server.c
@@ -57,8 +57,10 @@ static const char *generate_smb_conf(struct task_server *task)
fdprintf(fd, "rpc_daemon:spoolssd = disabled\n");
fdprintf(fd, "rpc_server:tcpip = no\n");
- /* If we are using posix:eadb then we need to load another VFS object */
- if (lpcfg_parm_string(lp_ctx, NULL, "posix", "eadb")) {
+ /* If we are using xattr_tdb:file or posix:eadb then we need to load another VFS object */
+ if (lpcfg_parm_string(lp_ctx, NULL, "xattr_tdb", "file")) {
+ fdprintf(fd, "vfs objects = acl_xattr xattr_tdb\n");
+ } else if (lpcfg_parm_string(lp_ctx, NULL, "posix", "eadb")) {
fdprintf(fd, "vfs objects = acl_xattr posix_eadb\n");
} else {
fdprintf(fd, "vfs objects = acl_xattr\n");