summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorPavel Reichl <pavel.reichl@redhat.com>2013-11-19 11:24:31 +0000
committerJakub Hrozek <jhrozek@redhat.com>2013-11-27 10:46:14 +0100
commitb5ee224324b0158641d9b110f81d2bc6eddddc13 (patch)
tree4d005ce00136288a5e266286ea186ff5af6ddeac /src/util
parent9f39fa303b328c4e82ffd6b3d8dfa9b6640222cd (diff)
downloadsssd-b5ee224324b0158641d9b110f81d2bc6eddddc13.tar.gz
sssd-b5ee224324b0158641d9b110f81d2bc6eddddc13.tar.xz
sssd-b5ee224324b0158641d9b110f81d2bc6eddddc13.zip
monitor: Specific error message for missing sssd.conf
Specific error message is logged for missing sssd.conf file. New sssd specific error value is introduced for this case. Resolves: https://fedorahosted.org/sssd/ticket/2156
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util_errors.c1
-rw-r--r--src/util/util_errors.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/util/util_errors.c b/src/util/util_errors.c
index b3d10f97b..114c8b04f 100644
--- a/src/util/util_errors.c
+++ b/src/util/util_errors.c
@@ -50,6 +50,7 @@ struct err_string error_to_str[] = {
{ "Dynamic DNS update not possible while offline" }, /* ERR_DYNDNS_OFFLINE */
{ "Entry not found" }, /* ERR_NOT_FOUND */
{ "Domain not found" }, /* ERR_DOMAIN_NOT_FOUND */
+ { "Missing configuration file" }, /* ERR_MISSING_CONF */
};
diff --git a/src/util/util_errors.h b/src/util/util_errors.h
index 685607c5b..bca45f392 100644
--- a/src/util/util_errors.h
+++ b/src/util/util_errors.h
@@ -72,6 +72,7 @@ enum sssd_errors {
ERR_DYNDNS_OFFLINE,
ERR_NOT_FOUND,
ERR_DOMAIN_NOT_FOUND,
+ ERR_MISSING_CONF,
ERR_LAST /* ALWAYS LAST */
};