aboutsummaryrefslogtreecommitdiff
path: root/winsup/doc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/doc')
-rw-r--r--winsup/doc/ntsec.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/winsup/doc/ntsec.xml b/winsup/doc/ntsec.xml
index c6871ec..1678ff6 100644
--- a/winsup/doc/ntsec.xml
+++ b/winsup/doc/ntsec.xml
@@ -1203,6 +1203,17 @@ schemata are the following:
See <xref linkend="ntsec-mapping-nsswitch-desc"></xref>
for a more detailed description.</listitem>
</varlistentry>
+ <varlistentry>
+ <term><literal>env</literal></term>
+ <listitem>Derives the home directory of the current user from the
+ environment variable <literal>HOME</literal> (falling back to
+ <literal>HOMEDRIVE\HOMEPATH</literal> and
+ <literal>USERPROFILE</literal>, in that order). This is faster
+ than the <term><literal>windows</literal></term> schema at the
+ expense of determining only the current user's home directory
+ correctly. This schema is skipped for any other account.
+ </listitem>
+ </varlistentry>
</variablelist>
<para>
@@ -1336,6 +1347,17 @@ of each schema when used with <literal>db_home:</literal>
for a detailed description.</listitem>
</varlistentry>
<varlistentry>
+ <term><literal>env</literal></term>
+ <listitem>Derives the home directory of the current user from the
+ environment variable <literal>HOME</literal> (falling back to
+ <literal>HOMEDRIVE\HOMEPATH</literal> and
+ <literal>USERPROFILE</literal>, in that order). This is faster
+ than the <term><literal>windows</literal></term> schema at the
+ expense of determining only the current user's home directory
+ correctly. This schema is skipped for any other account.
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><literal>@ad_attribute</literal></term>
<listitem>AD only: The user's home directory is set to the path given
in the <literal>ad_attribute</literal> attribute. The path