diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-08-05 10:12:34 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-08-13 15:21:22 +0200 |
commit | 5b4c81cab999c1f5a385754badd9e88600cbf3fa (patch) | |
tree | e3c8e4fce497c59fa0635b59dd7d946f0b8ad4dc /src/man/sssd.conf.5.xml | |
parent | 484a9f2fc6952199096ea5afb486b3eddb545c20 (diff) | |
download | sssd-5b4c81cab999c1f5a385754badd9e88600cbf3fa.tar.gz sssd-5b4c81cab999c1f5a385754badd9e88600cbf3fa.tar.xz sssd-5b4c81cab999c1f5a385754badd9e88600cbf3fa.zip |
Only replace space with the specified substitution
https://fedorahosted.org/sssd/ticket/2397
- make sss_replace_whitespaces only replace space (' ') not any
whitespace
- make sss_replace_whitespaces only replace a single char, not the whole
string
- rename CONFDB_NSS_OVERRIDE_DEFAULT_WHITESPACE to
CONFDB_NSS_OVERRIDE_DEFAULT_SPACE
- rename the override_default_whitespace option to override_space
- rename sss_replace_whitespaces() to sss_replace_space()
- rename sss_reverse_replace_whitespaces() to sss_reverse_replace_space()
- rename nctx->override_default_wsp_str to nctx->override_space
- make the return value of sss_replace_space non-const to avoid freeing
the result without compilation warnings
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
(cherry picked from commit 1f3127e88a87953f059c9a70d3582ae1719594b1)
Diffstat (limited to 'src/man/sssd.conf.5.xml')
-rw-r--r-- | src/man/sssd.conf.5.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml index 47465f568..9f6ec69f3 100644 --- a/src/man/sssd.conf.5.xml +++ b/src/man/sssd.conf.5.xml @@ -608,19 +608,19 @@ fallback_homedir = /home/%u </listitem> </varlistentry> <varlistentry> - <term>override_default_whitespace (string)</term> + <term>override_space (string)</term> <listitem> <para> - This parameter will replace white spaces (space bar) - with the given string for user and group names. + This parameter will replace spaces (space bar) + with the given character for user and group names. e.g. (_). User name "john doe" will be "john_doe" This feature was added to help compatibility with shell scripts that have - difficulty handling white spaces, due to the + difficulty handling spaces, due to the default field separator in the shell. </para> <para> - Default: not set (whitespaces will not be replaced) + Default: not set (spaces will not be replaced) </para> </listitem> </varlistentry> |