summaryrefslogtreecommitdiffstats
path: root/src/confdb
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-07-23 17:23:00 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-28 10:11:51 +0200
commit21bc143c2855638242e9dfe01ea66198b5883b8a (patch)
tree653fa3b89f5c512887bfbcd3478c24f30f400809 /src/confdb
parent022c6b90bb37851c0e8704c0e5388ebc113c6470 (diff)
downloadsssd-21bc143c2855638242e9dfe01ea66198b5883b8a.tar.gz
sssd-21bc143c2855638242e9dfe01ea66198b5883b8a.tar.xz
sssd-21bc143c2855638242e9dfe01ea66198b5883b8a.zip
NSS: Replace spaces with specified string in names.
This patch add possibility to replace whitespace in user and group names with a specified string. With string "-", sssd will return the same result as winbind enabled option "winbind normalize names" Resolves: https://fedorahosted.org/sssd/ticket/1854 Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/confdb')
-rw-r--r--src/confdb/confdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index ba33ea5d7..4ac69ebef 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -99,6 +99,7 @@
#define CONFDB_MEMCACHE_TIMEOUT "memcache_timeout"
#define CONFDB_NSS_HOMEDIR_SUBSTRING "homedir_substring"
#define CONFDB_DEFAULT_HOMEDIR_SUBSTRING "/home"
+#define CONFDB_NSS_OVERRIDE_DEFAULT_WHITESPACE "override_default_whitespace"
/* PAM */
#define CONFDB_PAM_CONF_ENTRY "config/pam"