smbd: fileserver: Change defaults to work with EA support out of the box.
[kai/samba-autobuild/.git] / source3 / param / loadparm.c
index 520d0660ccf36845c9b5a7e921863be2e732208f..ecff22eb638f6c7afeed0713c552ea505d309f8f 100644 (file)
@@ -193,7 +193,7 @@ static const struct loadparm_service _sDefault =
        .map_system = false,
        .map_hidden = false,
        .map_archive = true,
-       .store_dos_attributes = false,
+       .store_dos_attributes = true,
        .dmapi_support = false,
        .locking = true,
        .strict_locking = Auto,
@@ -231,7 +231,7 @@ static const struct loadparm_service _sDefault =
        ._use_sendfile = false,
        .map_acl_inherit = false,
        .afs_share = false,
-       .ea_support = false,
+       .ea_support = true,
        .acl_check_permissions = true,
        .acl_map_full_control = true,
        .acl_group_control = false,
@@ -239,7 +239,7 @@ static const struct loadparm_service _sDefault =
        .allocation_roundup_size = SMB_ROUNDUP_ALLOCATION_SIZE,
        .aio_read_size = 1,
        .aio_write_size = 1,
-       .map_readonly = MAP_READONLY_YES,
+       .map_readonly = MAP_READONLY_NO,
        .directory_name_cache_size = 100,
        .smb_encrypt = SMB_SIGNING_DEFAULT,
        .kernel_share_modes = true,