diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2016-06-19 07:19:15 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-07-07 10:25:46 +0200 |
commit | accff8ebe158251b1d25a95b3b035fe7e08fd1ee (patch) | |
tree | 08537756662bcfd378ab00d4f6e926bf76bcaf6e /src/util/sss_nss.h | |
parent | 78f9a9d4a2725f1b2cb6e582c965b5e6f7bdff7d (diff) | |
download | sssd-accff8ebe158251b1d25a95b3b035fe7e08fd1ee.tar.gz sssd-accff8ebe158251b1d25a95b3b035fe7e08fd1ee.tar.xz sssd-accff8ebe158251b1d25a95b3b035fe7e08fd1ee.zip |
UTIL: expand_homedir_template manages usernames internally
expand_homedir_template() can be considered an outward-facing interface,
therefore the function and its input structure will accept the internal
name format and parse it internally into a username and domain
component.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/util/sss_nss.h')
-rw-r--r-- | src/util/sss_nss.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/sss_nss.h b/src/util/sss_nss.h index 30359fc7c..2b8a5ae26 100644 --- a/src/util/sss_nss.h +++ b/src/util/sss_nss.h @@ -22,6 +22,7 @@ #ifndef __SSS_NSS_H__ #define __SSS_NSS_H__ +#include <stdbool.h> #include <sys/types.h> #include <talloc.h> @@ -36,5 +37,6 @@ struct sss_nss_homedir_ctx { }; char *expand_homedir_template(TALLOC_CTX *mem_ctx, const char *template, + bool case_sensitive, struct sss_nss_homedir_ctx *homedir_ctx); #endif |