diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-05-02 09:37:08 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-05-02 10:53:50 +1000 |
commit | 692b3bfd7feac632a7af3bb1df76116ffb14eea9 (patch) | |
tree | ce77be845dfe98118471c4c4251072c7162771f1 | |
parent | 5763301e2622dd8016da4172a489bf7dbea33522 (diff) | |
download | samba-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
-rw-r--r-- | file_server/file_server.c | 5 |
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"); |