1VFS_NFS4ACL_XATTR(8) System Administration tools VFS_NFS4ACL_XATTR(8)
2
3
4
6 vfs_nfs4acl_xattr - Save NTFS-ACLs as NFS4 encoded blobs in extended
7 attributes
8
10 vfs objects = nfs4acl_xattr
11
13 This VFS module is part of the samba(7) suite.
14
15 The vfs_acl_xattr VFS module stores NTFS Access Control Lists (ACLs) in
16 Extended Attributes (EAs/xattrs). This enables the full mapping of
17 Windows ACLs on Samba servers.
18
19 This module is stackable.
20
22 nfs4acl_xattr:encoding = [ndr|xdr]
23 This parameter configures the marshaling format used in the ACL
24 blob and the default extended attribute name used to store the
25 blob.
26
27 When set to ndr (default) - store the NT ACL with POSIX draft NFSv4
28 compatible NDR encoding. By default this uses the extended
29 attribute "security.nfs4acl_ndr".
30
31 When set to xdr - store the NT ACL in a format similar to NFS 4.1
32 RFC 5661 in XDR encoding. The main differences to RFC 5661 are the
33 use of ids instead of strings as users and group identifiers and an
34 additional attribute per nfsace4. By default this encoding stores
35 the blob in the extended attribute "security.nfs4acl_xdr".
36
37 nfs4acl_xattr:version = [40|41]
38 This parameter configures the NFS4 ACL level. Only 41 fully
39 supports mapping NT ACLs and should be used. The default is 41.
40
41 nfs4acl_xattr:default acl style = [posix|windows|everyone]
42 This parameter determines the type of ACL that is synthesized in
43 case a file or directory lacks an ACL extended attribute.
44
45 When set to posix, an ACL will be synthesized based on the POSIX
46 mode permissions for user, group and others, with an additional ACE
47 for NT Authority\SYSTEM will full rights.
48
49 When set to windows, an ACL is synthesized the same way Windows
50 does it, only including permissions for the owner and NT
51 Authority\SYSTEM.
52
53 When set to everyone, an ACL is synthesized giving full permissions
54 to everyone (S-1-1-0).
55
56 The default for this option is everyone.
57
58 nfs4acl_xattr:xattr_name = STRING
59 This parameter configures the extended attribute name used to store
60 the marshaled ACL.
61
62 The default depends on the setting for nfs4acl_xattr:encoding.
63
65 A directory can be exported via Samba using this module as follows:
66
67 [samba_gpfs_share]
68 vfs objects = nfs4acl_xattr
69 path = /foo/bar
70
71
73 The original Samba software and related utilities were created by
74 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
75 Source project similar to the way the Linux kernel is developed.
76
77
78
79Samba 4.9.8 05/14/2019 VFS_NFS4ACL_XATTR(8)