diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-12-02 14:19:09 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-06-02 19:07:57 +0200 |
commit | ae0a5011e2644eaa482ea1b9e1451eff05c676b9 (patch) | |
tree | 5bd7d3a18835317192c9a05eeae6b3234104a489 /src/util/sss_nss.h | |
parent | 5cd660aaa885bca95ac3dca660bb77e5786d5f8e (diff) | |
download | sssd-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/util/sss_nss.h')
-rw-r--r-- | src/util/sss_nss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/sss_nss.h b/src/util/sss_nss.h index 771b9ce58..19bf26589 100644 --- a/src/util/sss_nss.h +++ b/src/util/sss_nss.h @@ -31,6 +31,7 @@ struct sss_nss_homedir_ctx { const char *original; const char *domain; const char *flatname; + const char *config_homedir_substr; }; char *expand_homedir_template(TALLOC_CTX *mem_ctx, const char *template, |