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:36:28 +0200
commita2ea3f5d9ef9f17efbb61e942c2bc6cff7d1ebf2 (patch)
tree4e1e8b0c6507ea383067e78b2f6ac2ea74015fe0 /src/util
parenta9c287bda3fc2a1e12cef2135ade96945f11ad01 (diff)
downloadsssd-a2ea3f5d9ef9f17efbb61e942c2bc6cff7d1ebf2.tar.gz
sssd-a2ea3f5d9ef9f17efbb61e942c2bc6cff7d1ebf2.tar.xz
sssd-a2ea3f5d9ef9f17efbb61e942c2bc6cff7d1ebf2.zip
LDAP: Ignore returned referrals if referral support is disabled
Reviewed-by: Pavel Reichl <preichl@redhat.com>
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 aa5693190..5b36780ff 100644
--- a/src/util/util_errors.c
+++ b/src/util/util_errors.c
@@ -61,6 +61,7 @@ struct err_string error_to_str[] = {
{ "User/Group SIDs not found" }, /* ERR_NO_SIDS */
{ "Bus method not supported" }, /* ERR_SBUS_NOSUP */
{ "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 f68409eed..e040ba903 100644
--- a/src/util/util_errors.h
+++ b/src/util/util_errors.h
@@ -83,6 +83,7 @@ enum sssd_errors {
ERR_NO_SIDS,
ERR_SBUS_NOSUP,
ERR_NO_SYSBUS,
+ ERR_REFERRAL,
ERR_LAST /* ALWAYS LAST */
};