diff options
author | Jeremy Allison <jra@samba.org> | 2018-05-14 11:09:53 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2018-05-15 12:40:48 +0200 |
commit | 506c520503eacff33064c1c23a068399f7296d86 (patch) | |
tree | 1c2dd9c28805878617afa760cd2421ca65f7db20 /lib/param | |
parent | 9fbd4672b06de5333a9c44fc126b8edac0b9d31a (diff) | |
download | samba-506c520503eacff33064c1c23a068399f7296d86.tar.gz |
smbd: fileserver: Change defaults to work with EA support out of the box.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue May 15 12:40:48 CEST 2018 on sn-devel-144
Diffstat (limited to 'lib/param')
-rw-r--r-- | lib/param/loadparm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index bcb41419e1c..3b7f8053e4a 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -2880,7 +2880,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter(lp_ctx, "strict sync", "yes"); - lpcfg_do_global_parameter(lp_ctx, "map readonly", "yes"); + lpcfg_do_global_parameter(lp_ctx, "map readonly", "no"); lpcfg_do_global_parameter(lp_ctx, "allow trusted domains", "yes"); @@ -3000,6 +3000,10 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter(lp_ctx, "check parent directory delete on close", "no"); + lpcfg_do_global_parameter(lp_ctx, "ea support", "yes"); + + lpcfg_do_global_parameter(lp_ctx, "store dos attributes", "yes"); + for (i = 0; parm_table[i].label; i++) { if (!(lp_ctx->flags[i] & FLAG_CMDLINE)) { lp_ctx->flags[i] |= FLAG_DEFAULT; |