From 28edc819f27d12e617f5a20935a1206c56a9c1bd Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 25 Feb 2015 12:48:34 +0000 Subject: [PATCH] * ntsec.xml (ntsec-mapping): Match the description of the default values for db_home, db_shell, and db_gecos to the latest changes. --- winsup/doc/ChangeLog | 5 +++++ winsup/doc/ntsec.xml | 44 +++++++++----------------------------------- 2 files changed, 14 insertions(+), 35 deletions(-) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 8737ced2c..2e8e001b1 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-25 Corinna Vinschen + + * ntsec.xml (ntsec-mapping): Match the description of the default + values for db_home, db_shell, and db_gecos to the latest changes. + 2015-02-24 Warren Young * faq-using.xml (faq.using.ssh-pubkey-stops-working): Added the diff --git a/winsup/doc/ntsec.xml b/winsup/doc/ntsec.xml index 0d84e5dc1..0d9c405bf 100644 --- a/winsup/doc/ntsec.xml +++ b/winsup/doc/ntsec.xml @@ -874,9 +874,9 @@ file set up to all default values: db_prefix: auto db_separator: + --> db_enum: cache builtin - db_home: cygwin desc - db_shell: cygwin desc - db_gecos: cygwin desc + db_home: /home/%U + db_shell: /bin/bash + db_gecos: <empty$gt; The <filename>/etc/nsswitch.conf</filename> syntax @@ -1508,16 +1508,12 @@ As has been briefly mentioned before, the default setting for - db_home: cygwin desc + db_home: /home/%U -So, for AD accounts Cygwin tries to fetch the path from the user's -cygwinHome attribute first. If that's not available, -or if the account is a local SAM account, Cygwin tries to get the home -directory from the home= attribute of the user's -description field. If that's not available, Cygwin -falls back to the path /home/$USERNAME. +So by default, Cygwin just sets the home dir to +/home/$USERNAME. @@ -1587,21 +1583,13 @@ when used with db_shell: As for db_home:, the default setting for -db_shell: is +db_shell: is pretty much a constant - db_shell: cygwin desc + db_shell: /bin/bash - -So, for AD accounts Cygwin tries to fetch the path from the user's -cygwinShell attribute first. If that's not available, -or if the account is a local SAM account, Cygwin tries to get the home -directory from the shell= attribute of the user's -description field. If that's not available, Cygwin -falls back to /bin/bash. - @@ -1670,21 +1658,7 @@ The following list describes the meaning of each schema when used with -As for db_home: and db_shell:, the -default setting for db_gecos: is - - - - db_gecos: cygwin desc - - - -So, for AD accounts Cygwin tries to fetch the string from the user's -cygwinGecos attribute first. If that's not available, -or if the account is a local SAM account, Cygwin tries to get the home -directory from the gecos= attribute of the user's -description field. If that's not available, Cygwin -just doesn't add anything to pw_gecos. +The default setting for db_gecos: is the empty string.