From 3fce2d8a2b6d7ff0d15f7eb71f880aa7595f9151 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 14 Jan 2015 11:23:29 +0000 Subject: [PATCH] * ntsec.xml (ntsec-mapping-nsswitch-passwd): Document /path %H wildcard. (ntsec-mapping-nsswitch-home): Disable text explaining how the home directory is fetched from the homeDrive attribute. --- winsup/doc/ChangeLog | 6 ++++++ winsup/doc/ntsec.xml | 24 +++++++++++++++++++----- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index ebc437b28..b220d5bca 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,9 @@ +2015-01-14 Corinna Vinschen + + * ntsec.xml (ntsec-mapping-nsswitch-passwd): Document /path %H wildcard. + (ntsec-mapping-nsswitch-home): Disable text explaining how the home + directory is fetched from the homeDrive attribute. + 2015-01-14 Corinna Vinschen * cygwinenv.xml (cygwinenv-removed-options): Accommodate list of diff --git a/winsup/doc/ntsec.xml b/winsup/doc/ntsec.xml index 389a7875c..42fd83791 100644 --- a/winsup/doc/ntsec.xml +++ b/winsup/doc/ntsec.xml @@ -1395,6 +1395,17 @@ definition. %D Windows domain in NetBIOS style. + + %H + Windows home directory in POSIX style. Note that, + for the db_home: setting, this + only makes sense right after the preceeding slash, + as in + +db_home: /%H/cygwin + + + %_ Since space and TAB characters are used to separate @@ -1434,13 +1445,16 @@ of each schema when used with db_home: windows The user's home directory is set to the same directory which is used as Windows home directory. This is the + + homeDirectory AD attribute. + For SAM accounts, this is equivalent to the "Home folder" setting + in SAM. If both attributes are unset, Cygwin falls back to the + user's local profile directory, typically something along the + lines of C:\Users\$USERNAME. Of course, the Windows directory is converted to POSIX-style by Cygwin.