diff options
author | Pavel Březina <pbrezina@redhat.com> | 2015-12-18 12:45:53 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-01-19 14:33:13 +0100 |
commit | cad751beaa12e34e15565bc413442b1e80ac0c29 (patch) | |
tree | a0faf7db5b829c07cb09afad6010d26c14d391da | |
parent | e085a79acfcd5331b6f99748e21765579a9a99f2 (diff) | |
download | sssd-cad751beaa12e34e15565bc413442b1e80ac0c29.tar.gz sssd-cad751beaa12e34e15565bc413442b1e80ac0c29.tar.xz sssd-cad751beaa12e34e15565bc413442b1e80ac0c29.zip |
SUDO: fail on failed request that cannot be retry
Reviewed-by: Sumit Bose <sbose@redhat.com>
-rw-r--r-- | src/providers/ldap/sdap_async_sudo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_sudo.c b/src/providers/ldap/sdap_async_sudo.c index d26d00f47..e3f3da186 100644 --- a/src/providers/ldap/sdap_async_sudo.c +++ b/src/providers/ldap/sdap_async_sudo.c @@ -518,6 +518,9 @@ static void sdap_sudo_refresh_done(struct tevent_req *subreq) tevent_req_error(req, ret); } return; + } else if (ret != EOK) { + tevent_req_error(req, ret); + return; } DEBUG(SSSDBG_TRACE_FUNC, "Received %zu rules\n", rules_count); |