summaryrefslogtreecommitdiffstats
path: root/src/man/include
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-12-02 14:19:09 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-06-02 19:07:57 +0200
commitae0a5011e2644eaa482ea1b9e1451eff05c676b9 (patch)
tree5bd7d3a18835317192c9a05eeae6b3234104a489 /src/man/include
parent5cd660aaa885bca95ac3dca660bb77e5786d5f8e (diff)
downloadsssd-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/include')
-rw-r--r--src/man/include/homedir_substring.xml18
-rw-r--r--src/man/include/override_homedir.xml7
2 files changed, 25 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>