From a2ea3f5d9ef9f17efbb61e942c2bc6cff7d1ebf2 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 20 Aug 2014 14:00:38 +0200 Subject: LDAP: Ignore returned referrals if referral support is disabled Reviewed-by: Pavel Reichl --- src/util/util_errors.c | 1 + src/util/util_errors.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/util') 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 */ }; -- cgit