git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5763301
)
file_server: set 'store dos attributes = yes'
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 1 May 2012 23:37:08 +0000
(09:37 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 2 May 2012 00:53:50 +0000
(10:53 +1000)
This means we do not need the old permissions-based mappings.
Andrew Bartlett
file_server/file_server.c
patch
|
blob
|
history
diff --git
a/file_server/file_server.c
b/file_server/file_server.c
index c28acaef128ff865a3cd9acee9a8590897aca0f0..0e9d32154602c24fddb7b8948094ef571135cbd9 100644
(file)
--- 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");