summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-10-22 15:25:47 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-10-25 22:12:18 +0200
commitbc30ce9b7d588a17e58012e699986f0d6898b791 (patch)
treed734c348df7bc921a3b62b1119bd2b43c3e900fd /src/util
parent92eb5729e132e4f88ec41f1eb8db90ebd3a81a63 (diff)
downloadsssd-bc30ce9b7d588a17e58012e699986f0d6898b791.tar.gz
sssd-bc30ce9b7d588a17e58012e699986f0d6898b791.tar.xz
sssd-bc30ce9b7d588a17e58012e699986f0d6898b791.zip
utils: add ERR_DOMAIN_NOT_FOUND error code
Resolves: https://fedorahosted.org/sssd/ticket/1968
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 e39e15870..b3d10f97b 100644
--- a/src/util/util_errors.c
+++ b/src/util/util_errors.c
@@ -49,6 +49,7 @@ struct err_string error_to_str[] = {
{ "Dynamic DNS update timed out" }, /* ERR_DYNDNS_TIMEOUT */
{ "Dynamic DNS update not possible while offline" }, /* ERR_DYNDNS_OFFLINE */
{ "Entry not found" }, /* ERR_NOT_FOUND */
+ { "Domain not found" }, /* ERR_DOMAIN_NOT_FOUND */
};
diff --git a/src/util/util_errors.h b/src/util/util_errors.h
index 8580d6ba7..685607c5b 100644
--- a/src/util/util_errors.h
+++ b/src/util/util_errors.h
@@ -71,6 +71,7 @@ enum sssd_errors {
ERR_DYNDNS_TIMEOUT,
ERR_DYNDNS_OFFLINE,
ERR_NOT_FOUND,
+ ERR_DOMAIN_NOT_FOUND,
ERR_LAST /* ALWAYS LAST */
};