- bookworm-backports 2:4.21.2+dfsg-3~bpo12+1
- testing 2:4.21.2+dfsg-3
- unstable 2:4.21.2+dfsg-4
- experimental 2:4.21.2+dfsg-4~exp1
VFS_NFS4ACL_XATTR(8) | System Administration tools | VFS_NFS4ACL_XATTR(8) |
NAME¶
vfs_nfs4acl_xattr - Save NTFS-ACLs as NFS4 encoded blobs in extended attributes
SYNOPSIS¶
vfs objects = nfs4acl_xattr
DESCRIPTION¶
This VFS module is part of the samba(7) suite.
The vfs_acl_xattr VFS module stores NTFS Access Control Lists (ACLs) in Extended Attributes (EAs/xattrs). This enables the full mapping of Windows ACLs on Samba servers.
This module is stackable.
OPTIONS¶
nfs4:mode = [ simple | special ]
The following MODEs are understood by the module:
nfs4:acedup = [dontcare|reject|ignore|merge]
Following is the behaviour of Samba for different values :
nfs4:chown = [yes|no]
Some filesystems allow chown as a) giving b) stealing. It is the latter that is considered a risk.
Following is the behaviour of Samba for different values :
nfs4acl_xattr:encoding = [nfs|ndr|xdr]
When set to nfs - fetch and store the NT ACL in NFS 4.0 or 4.1 compatible XDR encoding. By default this uses the extended attribute "system.nfs4_acl". This setting also disables validate_mode.
When set to ndr (default) - store the NT ACL with POSIX draft NFSv4 compatible NDR encoding. By default this uses the extended attribute "security.nfs4acl_ndr".
When set to xdr - store the NT ACL in a format similar to NFS 4.1 RFC 5661 in XDR encoding. The main differences to RFC 5661 are the use of ids instead of strings as users and group identifiers and an additional attribute per nfsace4. By default this encoding stores the blob in the extended attribute "security.nfs4acl_xdr".
nfs4acl_xattr:version = [40|41]
nfs4acl_xattr:default acl style = [posix|windows|everyone]
When set to posix, an ACL will be synthesized based on the POSIX mode permissions for user, group and others, with an additional ACE for NT Authority\SYSTEM will full rights.
When set to windows, an ACL is synthesized the same way Windows does it, only including permissions for the owner and NT Authority\SYSTEM.
When set to everyone, an ACL is synthesized giving full permissions to everyone (S-1-1-0).
The default for this option is everyone.
nfs4acl_xattr:xattr_name = STRING
The default depends on the setting for nfs4acl_xattr:encoding.
nfs4acl_xattr:nfs4_id_numeric = yes|no (default: no)
When set to yes, the module expects the identifiers as numeric string.
The default for this optionsno.
nfs4acl_xattr:validate_mode = yes|no
The default depends on the setting for nfs4acl_xattr:encoding: when set to nfs this setting is disabled by default, otherwise it is enabled.
EXAMPLES¶
A directory can be exported via Samba using this module as follows:
[samba_gpfs_share]
vfs objects = nfs4acl_xattr
path = /foo/bar
AUTHOR¶
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
12/01/2024 | Samba 4.21.2-Debian-4.21.2+dfs |