summaryrefslogtreecommitdiff
path: root/file_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-05-02 09:37:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-05-02 10:53:50 +1000
commit692b3bfd7feac632a7af3bb1df76116ffb14eea9 (patch)
treece77be845dfe98118471c4c4251072c7162771f1 /file_server
parent5763301e2622dd8016da4172a489bf7dbea33522 (diff)
downloadsamba-692b3bfd7feac632a7af3bb1df76116ffb14eea9.tar.gz
samba-692b3bfd7feac632a7af3bb1df76116ffb14eea9.tar.bz2
samba-692b3bfd7feac632a7af3bb1df76116ffb14eea9.zip
file_server: set 'store dos attributes = yes'
This means we do not need the old permissions-based mappings. Andrew Bartlett
Diffstat (limited to 'file_server')
-rw-r--r--file_server/file_server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/file_server/file_server.c b/file_server/file_server.c
index c28acaef12..0e9d321546 100644
--- a/file_server/file_server.c
+++ b/file_server/file_server.c
@@ -70,6 +70,11 @@ static const char *generate_smb_conf(struct task_server *task)
fdprintf(fd, "vfs objects = acl_xattr\n");
}
+ fdprintf(fd, "map hidden = no\n");
+ fdprintf(fd, "map system = no\n");
+ fdprintf(fd, "map readonly = no\n");
+ fdprintf(fd, "store dos attributes = yes\n");
+
fdprintf(fd, "include = %s\n", lpcfg_configfile(lp_ctx));
fdprintf(fd, "[IPC$]\n");