[Samba] Problem with Windows Server Backup

Rowland Penny rpenny at samba.org
Tue Nov 20 18:58:29 UTC 2018


On Tue, 20 Nov 2018 18:38:18 +0000
Michael Funke via samba <samba at lists.samba.org> wrote:

> Of course.
> 
> [global]
>         security = ADS
>         workgroup = INVENTEX
>         realm = INVENTEX.LOCAL
>         log file = /var/log/samba/%m.log
>         log level = 1
>         # Default ID mapping configuration for local BUILTIN accounts
> and groups on a domain member. The default (*) domain: - must not
> overlap with any domain ID mapping configuration! - must use a
> read-write-enabled back end, # such as tdb. - Adding just this is not
> enough - You must set a DOMAIN backend configuration, see below idmap
> config * : backend = tdb idmap config * : range = 3000-7999 idmap
> config INVENTEX : backend = rid idmap config INVENTEX : range =
> 100000 - 199999
> 
> #======================= Share Definitions =======================
> [Images] path = /home/share/images
>         readonly = no
> 


OK, add these lines to the [global] section:

    # For ACL support on domain member
    vfs objects = acl_xattr
    map acl inherit = Yes
    store dos attributes = Yes

Restart Samba and then go and read this wiki page:

https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs

Rowland



More information about the samba mailing list