| 1 |
<variablelist> |
| 2 |
|
| 3 |
<varlistentry> |
| 4 |
<term>nfs4:mode = [ simple | special ]</term> |
| 5 |
<listitem> |
| 6 |
<para> |
| 7 |
Controls substitution of special IDs (OWNER@ and GROUP@) on NFS4 ACLs. |
| 8 |
The use of mode simple is recommended. |
| 9 |
In this mode only non inheriting ACL entries for the file owner |
| 10 |
and group are mapped to special IDs. |
| 11 |
</para> |
| 12 |
|
| 13 |
<para>The following MODEs are understood by the module:</para> |
| 14 |
<itemizedlist> |
| 15 |
<listitem><para><command>simple(default)</command> - use OWNER@ and GROUP@ special IDs for non inheriting ACEs only.</para></listitem> |
| 16 |
<listitem><para><command>special(deprecated)</command> - use OWNER@ and GROUP@ special IDs in ACEs for all file owner and group ACEs.</para></listitem> |
| 17 |
</itemizedlist> |
| 18 |
</listitem> |
| 19 |
|
| 20 |
</varlistentry> |
| 21 |
|
| 22 |
<varlistentry> |
| 23 |
<term>nfs4:acedup = [dontcare|reject|ignore|merge]</term> |
| 24 |
<listitem> |
| 25 |
<para> |
| 26 |
This parameter configures how Samba handles duplicate ACEs encountered in NFS4 ACLs. |
| 27 |
They allow creating duplicate ACEs with different bits for same ID, which may confuse the Windows clients. |
| 28 |
</para> |
| 29 |
|
| 30 |
<para>Following is the behaviour of Samba for different values :</para> |
| 31 |
<itemizedlist> |
| 32 |
<listitem><para><command>dontcare</command> - copy the ACEs as they come</para></listitem> |
| 33 |
<listitem><para><command>reject (deprecated)</command> - stop operation and exit with error on ACL set op</para></listitem> |
| 34 |
<listitem><para><command>ignore (deprecated)</command> - don't include the second matching ACE</para></listitem> |
| 35 |
<listitem><para><command>merge (default)</command> - bitwise OR the 2 ace.flag fields and 2 ace.mask fields of the 2 duplicate ACEs into 1 ACE</para></listitem> |
| 36 |
</itemizedlist> |
| 37 |
</listitem> |
| 38 |
</varlistentry> |
| 39 |
|
| 40 |
|
| 41 |
<varlistentry> |
| 42 |
<term>nfs4:chown = [yes|no]</term> |
| 43 |
<listitem> |
| 44 |
<para>This parameter allows enabling or disabling the chown supported |
| 45 |
by the underlying filesystem. This parameter should be enabled with |
| 46 |
care as it might leave your system insecure.</para> |
| 47 |
<para>Some filesystems allow chown as a) giving b) stealing. It is the latter |
| 48 |
that is considered a risk.</para> |
| 49 |
<para>Following is the behaviour of Samba for different values : </para> |
| 50 |
<itemizedlist> |
| 51 |
<listitem><para><command>yes</command> - Enable chown if as supported by the under filesystem</para></listitem> |
| 52 |
<listitem><para><command>no (default)</command> - Disable chown</para></listitem> |
| 53 |
</itemizedlist> |
| 54 |
</listitem> |
| 55 |
</varlistentry> |
| 56 |
|
| 57 |
</variablelist> |