From: Andrew Bartlett Date: Tue, 1 May 2012 23:37:08 +0000 (+1000) Subject: file_server: set 'store dos attributes = yes' X-Git-Tag: samba-4.0.0alpha21~415 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=692b3bfd7feac632a7af3bb1df76116ffb14eea9;p=thirdparty%2Fsamba.git file_server: set 'store dos attributes = yes' This means we do not need the old permissions-based mappings. Andrew Bartlett --- diff --git a/file_server/file_server.c b/file_server/file_server.c index c28acaef128..0e9d3215460 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");