summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/smbdotconf/filename/storedosattributes.xml20
-rw-r--r--docs/smbdotconf/protocol/easupport.xml4
2 files changed, 23 insertions, 1 deletions
diff --git a/docs/smbdotconf/filename/storedosattributes.xml b/docs/smbdotconf/filename/storedosattributes.xml
new file mode 100644
index 0000000000..1b94a771b6
--- /dev/null
+++ b/docs/smbdotconf/filename/storedosattributes.xml
@@ -0,0 +1,20 @@
+<samba:parameter name="store dos attributes"
+ context="S"
+ type="boolean"
+ xmlns:samba="http://samba.org/common">
+<description>
+ <para>If this parameter is set Samba no longer attempts to
+ map DOS attributes like SYSTEM, HIDDEN, ARCHIVE or READ-ONLY
+ to UNIX permission bits (such as the <link linkend="MAPHIDDEN"><parameter moreinfo="none">map hidden</parameter></link>. Instead, DOS attributes will be stored onto an extended
+ attribute in the UNIX filesystem, associated with the file or directory.
+ For this to operate correctly, the parameters <link linkend="MAPHIDDEN"><parameter moreinfo="none">map hidden</parameter></link>, <link linkend="MAPSYSTEM"><parameter moreinfo="none">map system</parameter></link>, <link linkend="MAPARCHIVE"><parameter moreinfo="none">map archive</parameter></link> must be set to off.
+ This parameter writes the DOS attributes as a string into the
+ extended attribute named "user.DOSATTRIB". This extended attribute
+ is explicitly hidden from smbd clients requesting an EA list.
+ On Linux the filesystem must have been mounted with the mount
+ option user_xattr in order for extended attributes to work, also
+ extended attributes must be compiled into the Linux kernel.
+ </para>
+</description>
+<value type="default">no</value>
+</samba:parameter>
diff --git a/docs/smbdotconf/protocol/easupport.xml b/docs/smbdotconf/protocol/easupport.xml
index b64130b620..a36f335e21 100644
--- a/docs/smbdotconf/protocol/easupport.xml
+++ b/docs/smbdotconf/protocol/easupport.xml
@@ -8,7 +8,9 @@
<manvolnum>8</manvolnum></citerefentry> will allow clients to attempt to store OS/2 style Extended
attributes on a share. In order to enable this parameter the underlying filesystem exported by
the share must support extended attributes (such as provided on XFS and EXT3 on Linux, with the
- correct kernel patches). On Linux the filesystem must have been mounted with the mount option user_xattr.</para>
+ correct kernel patches). On Linux the filesystem must have been mounted with the mount
+ option user_xattr in order for extended attributes to work, also
+ extended attributes must be compiled into the Linux kernel.
</description>
<value type="default">no</value>