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>
Four schemata are predefined, two schemata are variable. The predefined
Five schemata are predefined, two schemata are variable. The predefined
schemata are the following:
</para>
@ -1205,14 +1205,10 @@ schemata are the following:
</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>
<listitem>Utilizes the user's environment. This schema is only supported
for setting the home directory yet.
See <xref linkend="ntsec-mapping-nsswitch-home"></xref> for
the description.</listitem>
</varlistentry>
</variablelist>
@ -1352,7 +1348,7 @@ of each schema when used with <literal>db_home:</literal>
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
than the <literal>windows</literal> schema at the
expense of determining only the current user's home directory
correctly. This schema is skipped for any other account.
</listitem>