diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-21 16:18:02 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-22 16:40:24 +0200 |
commit | d3e69c059cb11c735d115a3914dad46806ff46fb (patch) | |
tree | 360cb34253a9e0164ef3b289a9df22f29630cac1 /src/providers/ad | |
parent | e88d426def412c0dde83e15fe17cdf374ee70166 (diff) | |
download | sssd-d3e69c059cb11c735d115a3914dad46806ff46fb.tar.gz sssd-d3e69c059cb11c735d115a3914dad46806ff46fb.tar.xz sssd-d3e69c059cb11c735d115a3914dad46806ff46fb.zip |
GPO: Terminate request on error
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/providers/ad')
-rw-r--r-- | src/providers/ad/ad_gpo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ad/ad_gpo.c b/src/providers/ad/ad_gpo.c index 3f5df75c5..4dfbd4b69 100644 --- a/src/providers/ad/ad_gpo.c +++ b/src/providers/ad/ad_gpo.c @@ -3954,11 +3954,13 @@ static void gpo_cse_done(struct tevent_req *subreq) "ad_gpo_parse_gpo_child_response failed: [%d][%s]\n", ret, strerror(ret)); tevent_req_error(req, ret); + return; } else if (child_result != 0){ DEBUG(SSSDBG_CRIT_FAILURE, "Error in gpo_child: [%d][%s]\n", child_result, strerror(child_result)); tevent_req_error(req, child_result); + return; } now = time(NULL); |