Cygwin: doc: fix description of new "env" schema for /etc/nsswitch.conf

Fixes: 27376c60a9 ("Allow deriving the current user's home directory via the HOME variable")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2023-03-29 10:34:30 +02:00
parent 2898a359b8
commit 93b05a87c2
1 changed files with 6 additions and 10 deletions

View File

@ -1167,7 +1167,7 @@ and on non-AD machines.
</para> </para>
<para> <para>
Four schemata are predefined, two schemata are variable. The predefined Five schemata are predefined, two schemata are variable. The predefined
schemata are the following: schemata are the following:
</para> </para>
@ -1205,14 +1205,10 @@ schemata are the following:
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>env</literal></term> <term><literal>env</literal></term>
<listitem>Derives the home directory of the current user from the <listitem>Utilizes the user's environment. This schema is only supported
environment variable <literal>HOME</literal> (falling back to for setting the home directory yet.
<literal>HOMEDRIVE\HOMEPATH</literal> and See <xref linkend="ntsec-mapping-nsswitch-home"></xref> for
<literal>USERPROFILE</literal>, in that order). This is faster the description.</listitem>
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>
</variablelist> </variablelist>
@ -1352,7 +1348,7 @@ of each schema when used with <literal>db_home:</literal>
environment variable <literal>HOME</literal> (falling back to environment variable <literal>HOME</literal> (falling back to
<literal>HOMEDRIVE\HOMEPATH</literal> and <literal>HOMEDRIVE\HOMEPATH</literal> and
<literal>USERPROFILE</literal>, in that order). This is faster <literal>USERPROFILE</literal>, in that order). This is faster
than the <term><literal>windows</literal></term> schema at the than the <literal>windows</literal> schema at the
expense of determining only the current user's home directory expense of determining only the current user's home directory
correctly. This schema is skipped for any other account. correctly. This schema is skipped for any other account.
</listitem> </listitem>