diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-12-02 14:19:09 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-06-02 19:07:57 +0200 |
commit | ae0a5011e2644eaa482ea1b9e1451eff05c676b9 (patch) | |
tree | 5bd7d3a18835317192c9a05eeae6b3234104a489 /src/man | |
parent | 5cd660aaa885bca95ac3dca660bb77e5786d5f8e (diff) | |
download | sssd-ae0a5011e2644eaa482ea1b9e1451eff05c676b9.tar.gz sssd-ae0a5011e2644eaa482ea1b9e1451eff05c676b9.tar.xz sssd-ae0a5011e2644eaa482ea1b9e1451eff05c676b9.zip |
NSS: Add option to expand homedir template format
LDAP server can contain template for home directory instead of plain string.
This patch adds new expand option "%H", which will be replaced with value
from configuration option homedir_substring (from sssd.conf)
Resolves:
https://fedorahosted.org/sssd/ticket/1853
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/include/homedir_substring.xml | 18 | ||||
-rw-r--r-- | src/man/include/override_homedir.xml | 7 | ||||
-rw-r--r-- | src/man/po/po4a.cfg | 1 | ||||
-rw-r--r-- | src/man/sssd-ad.5.xml | 1 | ||||
-rw-r--r-- | src/man/sssd.conf.5.xml | 1 |
5 files changed, 28 insertions, 0 deletions
diff --git a/src/man/include/homedir_substring.xml b/src/man/include/homedir_substring.xml new file mode 100644 index 000000000..54d9bc94b --- /dev/null +++ b/src/man/include/homedir_substring.xml @@ -0,0 +1,18 @@ +<varlistentry> + <term>homedir_substring (string)</term> + <listitem> + <para> + The value of this option will be used in the expansion of the + <emphasis>override_homedir</emphasis> option if the template + contains the format string <emphasis>%H</emphasis>. An LDAP + directory entry can directly contain this template so that this + option can be used to expand the home directory path for each + client machine (or operating system). It can be set per-domain or + globally in the [nss] section. A value specified in a domain + section will override one set in the [nss] section. + </para> + <para> + Default: /home + </para> + </listitem> +</varlistentry> diff --git a/src/man/include/override_homedir.xml b/src/man/include/override_homedir.xml index 773d0b661..552d7eb9d 100644 --- a/src/man/include/override_homedir.xml +++ b/src/man/include/override_homedir.xml @@ -31,6 +31,13 @@ </para></listitem> </varlistentry> <varlistentry> + <term>%H</term> + <listitem><para> + The value of configure option + <emphasis>homedir_substring</emphasis>. + </para></listitem> + </varlistentry> + <varlistentry> <term>%%</term> <listitem><para>a literal '%'</para> </listitem> diff --git a/src/man/po/po4a.cfg b/src/man/po/po4a.cfg index baad09d30..70fa28c88 100644 --- a/src/man/po/po4a.cfg +++ b/src/man/po/po4a.cfg @@ -37,3 +37,4 @@ [type:docbook] include/ldap_search_bases.xml $lang:$(builddir)/$lang/include/ldap_search_bases.xml opt:"-k 0" [type:docbook] include/autofs_restart.xml $lang:$(builddir)/$lang/include/autofs_restart.xml opt:"-k 0" [type:docbook] include/override_homedir.xml $lang:$(builddir)/$lang/include/override_homedir.xml opt:"-k 0" +[type:docbook] include/homedir_substring.xml $lang:$(builddir)/$lang/include/homedir_substring.xml opt:"-k 0" diff --git a/src/man/sssd-ad.5.xml b/src/man/sssd-ad.5.xml index 21f735e0a..9070144ce 100644 --- a/src/man/sssd-ad.5.xml +++ b/src/man/sssd-ad.5.xml @@ -413,6 +413,7 @@ FOREST:EXAMPLE.COM:(memberOf=cn=admins,ou=groups,dc=example,dc=com) </varlistentry> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/override_homedir.xml" /> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/homedir_substring.xml" /> <varlistentry> <term>krb5_use_enterprise_principal (boolean)</term> diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml index c542b5256..48fd22070 100644 --- a/src/man/sssd.conf.5.xml +++ b/src/man/sssd.conf.5.xml @@ -513,6 +513,7 @@ </listitem> </varlistentry> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/override_homedir.xml" /> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/homedir_substring.xml" /> <varlistentry> <term>fallback_homedir (string)</term> <listitem> |