summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-08-20 14:00:38 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-09-02 14:47:28 +0200
commite6c56ab04e9b3669a7f7a87e49752c22d72e8e8a (patch)
tree242aa215c8ae6cfb609f5af2ffc6ad37aba75b68 /src/util
parentbc4b852c36ee6d36e12592c37e4e3bfe497f8c68 (diff)
downloadsssd-e6c56ab04e9b3669a7f7a87e49752c22d72e8e8a.tar.gz
sssd-e6c56ab04e9b3669a7f7a87e49752c22d72e8e8a.tar.xz
sssd-e6c56ab04e9b3669a7f7a87e49752c22d72e8e8a.zip
LDAP: Ignore returned referrals if referral support is disabled
Reviewed-by: Pavel Reichl <preichl@redhat.com> (cherry picked from commit a2ea3f5d9ef9f17efbb61e942c2bc6cff7d1ebf2)
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 0306be35d..dc0a4f5d5 100644
--- a/src/util/util_errors.c
+++ b/src/util/util_errors.c
@@ -59,6 +59,7 @@ struct err_string error_to_str[] = {
{ "Cannot get bus message sender" }, /* ERR_SBUS_GET_SENDER_ERROR */
{ "Bus message has no sender" }, /* ERR_SBUS_NO_SENDER */
{ "Cannot connect to system bus" }, /* ERR_NO_SYSBUS */
+ { "LDAP search returned a referral" }, /* ERR_REFERRAL */
};
diff --git a/src/util/util_errors.h b/src/util/util_errors.h
index 701409240..5379c698a 100644
--- a/src/util/util_errors.h
+++ b/src/util/util_errors.h
@@ -81,6 +81,7 @@ enum sssd_errors {
ERR_SBUS_GET_SENDER_ERROR,
ERR_SBUS_NO_SENDER,
ERR_NO_SYSBUS,
+ ERR_REFERRAL,
ERR_LAST /* ALWAYS LAST */
};