From 3c60433641ce2e86b9b04778c8f8652ef0d097e4 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 11 Apr 2012 15:02:10 +0200 Subject: Make re_expression and full_name_format per domain options * Allows different user/domain qualified names for different domains. For example Domain\User or user@domain. * The global re_expression and full_name_format options remain as defaults for the domains. * Subdomains get the re_expression and full_name_format of their parent domain. https://bugzilla.redhat.com/show_bug.cgi?id=811663 --- src/man/sssd.conf.5.xml | 67 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 18 deletions(-) (limited to 'src/man') diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml index c946c6e1..4e38ffe6 100644 --- a/src/man/sssd.conf.5.xml +++ b/src/man/sssd.conf.5.xml @@ -122,25 +122,12 @@ re_expression (string) - Regular expression that describes how to parse the string + Default regular expression that describes how to parse the string containing user name and domain into these components. - Default: (?P<name>[^@]+)@?(?P<domain>[^@]*$) - which translates to "the name is everything up to the - @ sign, the domain everything after that" - - - PLEASE NOTE: the support for non-unique named - subpatterns is not available on all platforms - (e.g. RHEL5 and SLES10). Only platforms with - libpcre version 7 or higher can support non-unique - named subpatterns. - - - PLEASE NOTE ALSO: older version of libpcre only - support the Python syntax (?P<name>) to label - subpatterns. + Each domain can have an individual regular expression configured. + see DOMAIN SECTIONS for more info on these regular expressions. @@ -148,7 +135,7 @@ full_name_format (string) - A + The default printf 3 -compatible format that describes how to @@ -156,7 +143,8 @@ name. - Default: %1$s@%2$s. + Each domain can have an individual format string configured. + see DOMAIN SECTIONS for more info on this option. @@ -1286,6 +1274,49 @@ + + re_expression (string) + + + Regular expression for this domain that describes how to parse + the string containing user name and domain into these components. + + + Default: (?P<name>[^@]+)@?(?P<domain>[^@]*$) + which translates to "the name is everything up to the + @ sign, the domain everything after that" + + + PLEASE NOTE: the support for non-unique named + subpatterns is not available on all platforms + (e.g. RHEL5 and SLES10). Only platforms with + libpcre version 7 or higher can support non-unique + named subpatterns. + + + PLEASE NOTE ALSO: older version of libpcre only + support the Python syntax (?P<name>) to label + subpatterns. + + + + + full_name_format (string) + + + A + printf + 3 + -compatible format that describes how to + translate a (name, domain) tuple for this domain into a fully + qualified name. + + + Default: %1$s@%2$s. + + + + lookup_family_order (string) -- cgit