summaryrefslogtreecommitdiffstats
path: root/src/util/util_errors.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-01-08 17:12:17 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-01-09 12:08:57 +0100
commit2a96981a0ac781d01e5bba473409ed2bdf4cd4e0 (patch)
tree47422c8826c617c00b22f76b3347726ae48c031a /src/util/util_errors.c
parent461da2984c747708e8badd27fa55ef879f40e712 (diff)
downloadsssd-2a96981a0ac781d01e5bba473409ed2bdf4cd4e0.tar.gz
sssd-2a96981a0ac781d01e5bba473409ed2bdf4cd4e0.tar.xz
sssd-2a96981a0ac781d01e5bba473409ed2bdf4cd4e0.zip
LDAP: Add a new error code for malformed access control filter
https://fedorahosted.org/sssd/ticket/2164 The patch adds a new error code and special cases the new code so that access is denied and a nicer log message is shown.
Diffstat (limited to 'src/util/util_errors.c')
-rw-r--r--src/util/util_errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/util_errors.c b/src/util/util_errors.c
index 114c8b04f..633257e8d 100644
--- a/src/util/util_errors.c
+++ b/src/util/util_errors.c
@@ -51,6 +51,7 @@ struct err_string error_to_str[] = {
{ "Entry not found" }, /* ERR_NOT_FOUND */
{ "Domain not found" }, /* ERR_DOMAIN_NOT_FOUND */
{ "Missing configuration file" }, /* ERR_MISSING_CONF */
+ { "Malformed search filter" }, /* ERR_INVALID_FILTER, */
};