docs-xml: some fixes and updates for ea and acl docs in smb.conf
authorBjörn Jacke <bj@sernet.de>
Sun, 11 Sep 2022 19:35:07 +0000 (21:35 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 12 Sep 2022 02:30:36 +0000 (02:30 +0000)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/smbdotconf/protocol/easupport.xml
docs-xml/smbdotconf/protocol/mapaclinherit.xml
docs-xml/smbdotconf/security/inheritacls.xml

index 403e48f5a89720f42b5f3bcbd9bdbca15e429951..fd425e8b514c0275870ef4acf4a086e30b8be372 100644 (file)
     <para>
     Note that the SMB protocol allows setting attributes whose value is 64K bytes long,
     and that on NTFS, the maximum storage space for extended attributes per file is 64K.
-    On most UNIX systems (Solaris and ZFS file system being the exception), the limits
-    are much lower - typically 4K. Worse, the same 4K space is often used to store
-    system metadata such as POSIX ACLs, or Samba's NT ACLs. Giving clients
-    access to this tight space via extended attribute support could consume all
-    of it by unsuspecting client applications, which would prevent changing
-    system metadata due to lack of space.
+    On some filesystem the limits may be lower. Filesystems with too limited EA
+    space may experience unexpected weird effects.
+
 
     The default has changed to yes in Samba release 4.9.0 and above to allow better Windows
     fileserver compatibility in a default install.
index 28271f9d66b02f0737c20e37cecee46e711c2c04..c248a333b5c8e837c851add750a484f31c86c64e 100644 (file)
@@ -3,13 +3,17 @@
                  type="boolean"
                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 <description>
-    <para>This boolean parameter controls whether <citerefentry><refentrytitle>smbd</refentrytitle>                                       
-    <manvolnum>8</manvolnum></citerefentry> will attempt to map the 'inherit' and 'protected'
-    access control entry flags stored in Windows ACLs into an extended attribute
-    called user.SAMBA_PAI (POSIX ACL Inheritance). This parameter requires
-    supports for extended attributes on the filesystem and
-    allows the Windows ACL editor to store inheritance information while
-    NT ACLs are mapped best-effort to the POSIX ACLs.
+    <para>This boolean parameter is only relevant for systems that do not support
+    standardized NFS4 ACLs but only a POSIX draft implementation of ACLs. Linux
+    is the only common UNIX system which does still not offer standardized NFS4
+    ACLs actually. On such systems this parameter controls whether
+    <citerefentry><refentrytitle>smbd</refentrytitle>
+    <manvolnum>8</manvolnum></citerefentry> will attempt to map the 'protected'
+    (don't inherit) flags of the Windows ACLs into an extended attribute called
+    user.SAMBA_PAI (POSIX draft ACL Inheritance). This parameter requires
+    support for extended attributes on the filesystem and allows the Windows
+    ACL editor to store (non-)inheritance information while NT ACLs are mapped
+    best-effort to the POSIX draft ACLs that the OS and filesystem implements.
     </para>
 </description>
 <value type="default">no</value>
index 4c6caefc920aaa37e12e7bd210072ed6eb1e6efd..4f1bf995d7a58858bfbde16fe1f36858d5368822 100644 (file)
@@ -3,12 +3,15 @@
                  type="boolean"
                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 <description>
-    <para>This parameter can be used to ensure that if default acls
+    <para>This parameter is only relevant for filesystems that
+    do not support standardized NFS4 ACLs but only a POSIX draft ACL
+    implementation and which implements default ACLs like most filesystems
+    on Linux. It can be used to ensure that if default ACLs
     exist on parent directories, they are always honored when creating a
     new file or subdirectory in these parent directories. The default 
     behavior is to use the unix mode specified when creating the directory. 
     Enabling this option sets the unix mode to 0777, thus guaranteeing that 
-    default directory acls are propagated.
+    the default directory ACLs are propagated.
 
     Note that using the VFS modules acl_xattr or acl_tdb which store native
     Windows as meta-data will automatically turn this option on for any