summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-05-20 17:37:04 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-21 16:40:12 +0200
commit574a1c20f114851071ae74112b34488c3d1aeeb3 (patch)
treef16c104651b89b6e7f75b31e4ac960251c753128 /src/util/util.h
parentdb78f4c750943fcd4b60bca5f3fdfd6cc5d3d4f8 (diff)
downloadsssd-574a1c20f114851071ae74112b34488c3d1aeeb3.tar.gz
sssd-574a1c20f114851071ae74112b34488c3d1aeeb3.tar.xz
sssd-574a1c20f114851071ae74112b34488c3d1aeeb3.zip
Check NSCD configuration file
https://fedorahosted.org/sssd/ticket/1785 nscd.conf file is now checked for the presence of caching settings for databases controlled by SSSD. Syslog warning is now written only if NSCD is running with interfering configuration or if configuration file couldn't be loaded. New configure option added to support non-standard locations --with-nscd-conf=PATH (defaultly set to /etc/nscd.conf) This is just a workaround until the following bugzilla is resolved: https://bugzilla.redhat.com/show_bug.cgi?id=963908
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 566530387..bdb04a8f3 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -499,6 +499,8 @@ enum nscd_db {
int flush_nscd_cache(enum nscd_db flush_db);
+errno_t sss_nscd_parse_conf(const char *conf_path);
+
/* from sss_tc_utf8.c */
char *
sss_tc_utf8_str_tolower(TALLOC_CTX *mem_ctx, const char *s);