diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-12-04 15:17:59 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-14 17:45:18 +0100 |
commit | a4273341a11a0f32b25564d2a23eafa1c3f78c26 (patch) | |
tree | a77f99f5c73c76f2e639e1b5c6e8ede63c026eb2 /src/sss_client | |
parent | f9039fca7eaf4e14ab4b8bf0242203a921c82a9a (diff) | |
download | sssd-a4273341a11a0f32b25564d2a23eafa1c3f78c26.tar.gz sssd-a4273341a11a0f32b25564d2a23eafa1c3f78c26.tar.xz sssd-a4273341a11a0f32b25564d2a23eafa1c3f78c26.zip |
sudo: don't get stuck in rules and smart refresh when offline1.9.2-39
https://fedorahosted.org/sssd/ticket/1682
The problem was in following code:
if (ret != EOK || state->dp_error != DP_ERR_OK || state->error != EOK) {
tevent_req_error(req, ret);
return;
}
In situation when data provider error occurs (e.g. when offline),
ret == EOK but dp_error != DP_ERR_OK and we take the true branch.
This results in calling tevent_req_error(req, EOK).
Unfortunately, with EOK tevent_req_error only returns false, but
does not trigger callback and this tevent request hangs forever,
because no tevent_req_done(req) is called.
Diffstat (limited to 'src/sss_client')
0 files changed, 0 insertions, 0 deletions