1VFS_ACL_XATTR(8)          System Administration tools         VFS_ACL_XATTR(8)
2
3
4

NAME

6       vfs_acl_xattr - Save NTFS-ACLs in Extended Attributes (EAs)
7

SYNOPSIS

9       vfs objects = acl_xattr
10

DESCRIPTION

12       This VFS module is part of the samba(7) suite.
13
14       The vfs_acl_xattr VFS module stores NTFS Access Control Lists (ACLs) in
15       Extended Attributes (EAs). This enables the full mapping of Windows
16       ACLs on Samba servers.
17
18       The ACLs are stored in the Extended Attribute security.NTACL of a file
19       or directory. This Attribute is not listed by getfattr -d filename. To
20       show the current value, the name of the EA must be specified (e.g.
21       getfattr -n security.NTACL filename).
22
23       This module forces the following parameters:
24
25              •   inherit acls = true
26
27              •   dos filemode = true
28
29              •   force unknown acl user = true
30
31
32       This module is stackable.
33

OPTIONS

35       acl_xattr:security_acl_name = NAME
36           This option allows to redefine the default location for the NTACL
37           extended attribute (xattr). If not set, NTACL xattrs are written to
38           security.NTACL which is a protected location, which means the
39           content of the security.NTACL attribute is not accessible from
40           normal users outside of Samba. When this option is set to use a
41           user-defined value, e.g. user.NTACL then any user can potentially
42           access and overwrite this information. The module prevents access
43           to this xattr over SMB, but the xattr may still be accessed by
44           other means (eg local access, SSH, NFS). This option must only be
45           used when this consequence is clearly understood and when specific
46           precautions are taken to avoid compromising the ACL content.
47
48       acl_xattr:ignore system acls = [yes|no]
49           When set to yes, a best effort mapping from/to the POSIX ACL layer
50           will not be done by this module. The default is no, which means
51           that Samba keeps setting and evaluating both the system ACLs and
52           the NT ACLs. This is better if you need your system ACLs be set for
53           local or NFS file access, too. If you only access the data via
54           Samba you might set this to yes to achieve better NT ACL
55           compatibility.
56
57           If acl_xattr:ignore system acls is set to yes, the following
58           additional settings will be enforced:
59
60                  •   create mask = 0666
61
62                  •   directory mask = 0777
63
64                  •   map archive = no
65
66                  •   map hidden = no
67
68                  •   map readonly = no
69
70                  •   map system = no
71
72                  •   store dos attributes = yes
73
74
75       acl_xattr:default acl style = [posix|windows|everyone]
76           This parameter determines the type of ACL that is synthesized in
77           case a file or directory lacks an security.NTACL xattr.
78
79           When set to posix, an ACL will be synthesized based on the POSIX
80           mode permissions for user, group and others, with an additional ACE
81           for NT Authority\SYSTEM will full rights.
82
83           When set to windows, an ACL is synthesized the same way Windows
84           does it, only including permissions for the owner and NT
85           Authority\SYSTEM.
86
87           When set to everyone, an ACL is synthesized giving full permissions
88           to everyone (S-1-1-0).
89
90           The default for this option is posix.
91

AUTHOR

93       The original Samba software and related utilities were created by
94       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
95       Source project similar to the way the Linux kernel is developed.
96
97
98
99Samba 4.17.5                      01/26/2023                  VFS_ACL_XATTR(8)
Impressum