summaryrefslogtreecommitdiff
path: root/src/man/sssd.conf.5.xml
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-01 12:56:04 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-02 17:13:23 +0200
commit767caa58f91bf87586c872b67896297ff4073241 (patch)
treea0d5c80222756d5ce364b2a37436d2ce0c102c2c /src/man/sssd.conf.5.xml
parent798a227df11f49147fa43e515910ec11e21e0caa (diff)
downloadsssd-767caa58f91bf87586c872b67896297ff4073241.tar.gz
sssd-767caa58f91bf87586c872b67896297ff4073241.tar.bz2
sssd-767caa58f91bf87586c872b67896297ff4073241.zip
Add man page section about provider specific re_expression
Fixes: https://fedorahosted.org/sssd/ticket/1525
Diffstat (limited to 'src/man/sssd.conf.5.xml')
-rw-r--r--src/man/sssd.conf.5.xml41
1 files changed, 33 insertions, 8 deletions
diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml
index 6fbbd9ad..92fcc9b9 100644
--- a/src/man/sssd.conf.5.xml
+++ b/src/man/sssd.conf.5.xml
@@ -124,12 +124,16 @@
<term>re_expression (string)</term>
<listitem>
<para>
- Default regular expression that describes how to parse the string
- containing user name and domain into these components.
+ Default regular expression that describes how to
+ parse the string containing user name and domain
+ into these components.
</para>
<para>
- Each domain can have an individual regular expression configured.
- see DOMAIN SECTIONS for more info on these regular expressions.
+ Each domain can have an individual regular
+ expression configured. For some ID providers
+ there are also default regular expressions. See
+ DOMAIN SECTIONS for more info on these regular
+ expressions.
</para>
</listitem>
</varlistentry>
@@ -1459,13 +1463,34 @@ override_homedir = /home/%u
<term>re_expression (string)</term>
<listitem>
<para>
- Regular expression for this domain that describes how to parse
- the string containing user name and domain into these components.
+ Regular expression for this domain that describes
+ how to parse the string containing user name and
+ domain into these components.
+ </para>
+ <para>
+ Default for the AD and IPA provider:
+ <quote>(((?P&lt;domain&gt;[^\\]+)\\(?P&lt;name&gt;.+$))|((?P&lt;name&gt;[^@]+)@(?P&lt;domain&gt;.+$))|(^(?P&lt;name&gt;[^@\\]+)$))</quote>
+ which allows three different styles for user names:
+ <itemizedlist>
+ <listitem>
+ <para>username</para>
+ </listitem>
+ <listitem>
+ <para>username@domain.name</para>
+ </listitem>
+ <listitem>
+ <para>domain\username</para>
+ </listitem>
+ </itemizedlist>
+ While the first two correspond to the general
+ default the third one is introduced to allow easy
+ integration of users from Windows domains.
</para>
<para>
Default: <quote>(?P&lt;name&gt;[^@]+)@?(?P&lt;domain&gt;[^@]*$)</quote>
- which translates to "the name is everything up to the
- <quote>@</quote> sign, the domain everything after that"
+ which translates to "the name is everything up to
+ the <quote>@</quote> sign, the domain everything
+ after that"
</para>
<para>
PLEASE NOTE: the support for non-unique named