From 93b05a87c22ba410e1bac20dddcbcb26956befbc Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 29 Mar 2023 10:34:30 +0200 Subject: [PATCH] Cygwin: doc: fix description of new "env" schema for /etc/nsswitch.conf Fixes: 27376c60a9b8 ("Allow deriving the current user's home directory via the HOME variable") Signed-off-by: Corinna Vinschen --- winsup/doc/ntsec.xml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/winsup/doc/ntsec.xml b/winsup/doc/ntsec.xml index 1678ff657..687789076 100644 --- a/winsup/doc/ntsec.xml +++ b/winsup/doc/ntsec.xml @@ -1167,7 +1167,7 @@ and on non-AD machines. -Four schemata are predefined, two schemata are variable. The predefined +Five schemata are predefined, two schemata are variable. The predefined schemata are the following: @@ -1205,14 +1205,10 @@ schemata are the following: env - Derives the home directory of the current user from the - environment variable HOME (falling back to - HOMEDRIVE\HOMEPATH and - USERPROFILE, in that order). This is faster - than the windows schema at the - expense of determining only the current user's home directory - correctly. This schema is skipped for any other account. - + Utilizes the user's environment. This schema is only supported + for setting the home directory yet. + See for + the description. @@ -1352,7 +1348,7 @@ of each schema when used with db_home: environment variable HOME (falling back to HOMEDRIVE\HOMEPATH and USERPROFILE, in that order). This is faster - than the windows schema at the + than the windows schema at the expense of determining only the current user's home directory correctly. This schema is skipped for any other account.