* ntsec.xml (ntsec-mapping): Match the description of the default
values for db_home, db_shell, and db_gecos to the latest changes.
This commit is contained in:
parent
c1d739567b
commit
28edc819f2
|
@ -1,3 +1,8 @@
|
||||||
|
2015-02-25 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* 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 <warren@etr-usa.com>
|
2015-02-24 Warren Young <warren@etr-usa.com>
|
||||||
|
|
||||||
* faq-using.xml (faq.using.ssh-pubkey-stops-working): Added the
|
* faq-using.xml (faq.using.ssh-pubkey-stops-working): Added the
|
||||||
|
|
|
@ -874,9 +874,9 @@ file set up to all default values:
|
||||||
db_prefix: auto
|
db_prefix: auto
|
||||||
db_separator: + -->
|
db_separator: + -->
|
||||||
db_enum: cache builtin
|
db_enum: cache builtin
|
||||||
db_home: cygwin desc
|
db_home: /home/%U
|
||||||
db_shell: cygwin desc
|
db_shell: /bin/bash
|
||||||
db_gecos: cygwin desc
|
db_gecos: <empty$gt;
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
<sect4 id="ntsec-mapping-nsswitch-syntax"><title id="ntsec-mapping-nsswitch-syntax.title">The <filename>/etc/nsswitch.conf</filename> syntax</title>
|
<sect4 id="ntsec-mapping-nsswitch-syntax"><title id="ntsec-mapping-nsswitch-syntax.title">The <filename>/etc/nsswitch.conf</filename> syntax</title>
|
||||||
|
@ -1508,16 +1508,12 @@ As has been briefly mentioned before, the default setting for
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen>
|
<screen>
|
||||||
db_home: cygwin desc
|
db_home: /home/%U
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
So, for AD accounts Cygwin tries to fetch the path from the user's
|
So by default, Cygwin just sets the home dir to
|
||||||
<literal>cygwinHome</literal> attribute first. If that's not available,
|
<filename>/home/$USERNAME</filename>.
|
||||||
or if the account is a local SAM account, Cygwin tries to get the home
|
|
||||||
directory from the <literal>home=</literal> attribute of the user's
|
|
||||||
<literal>description</literal> field. If that's not available, Cygwin
|
|
||||||
falls back to the path <filename>/home/$USERNAME</filename>.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect4>
|
</sect4>
|
||||||
|
@ -1587,21 +1583,13 @@ when used with <literal>db_shell:</literal>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
As for <literal>db_home:</literal>, the default setting for
|
As for <literal>db_home:</literal>, the default setting for
|
||||||
<literal>db_shell:</literal> is
|
<literal>db_shell:</literal> is pretty much a constant
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen>
|
<screen>
|
||||||
db_shell: cygwin desc
|
db_shell: /bin/bash
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
<para>
|
|
||||||
So, for AD accounts Cygwin tries to fetch the path from the user's
|
|
||||||
<literal>cygwinShell</literal> 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 <literal>shell=</literal> attribute of the user's
|
|
||||||
<literal>description</literal> field. If that's not available, Cygwin
|
|
||||||
falls back to <filename>/bin/bash</filename>.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</sect4>
|
</sect4>
|
||||||
|
|
||||||
|
@ -1670,21 +1658,7 @@ The following list describes the meaning of each schema when used with
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
As for <literal>db_home:</literal> and <literal>db_shell:</literal>, the
|
The default setting for <literal>db_gecos:</literal> is the empty string.
|
||||||
default setting for <literal>db_gecos:</literal> is
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<screen>
|
|
||||||
db_gecos: cygwin desc
|
|
||||||
</screen>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
So, for AD accounts Cygwin tries to fetch the string from the user's
|
|
||||||
<literal>cygwinGecos</literal> 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 <literal>gecos=</literal> attribute of the user's
|
|
||||||
<literal>description</literal> field. If that's not available, Cygwin
|
|
||||||
just doesn't add anything to <literal>pw_gecos</literal>.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect4>
|
</sect4>
|
||||||
|
|
Loading…
Reference in New Issue