[SSSD] [PATCH] LDAP: return after tevent_req_error

Jakub Hrozek jhrozek at redhat.com
Mon May 11 07:53:10 UTC 2015


Hi,

please review this trivial attached patch.
-------------- next part --------------
>From 7fdd592a2630d57d0ba5102bca1b85d8418bf912 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Tue, 21 Apr 2015 09:34:24 +0200
Subject: [PATCH] LDAP: return after tevent_req_error

---
 src/providers/ldap/sdap_async_connection.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c
index bffe787c945f07852a5b0ca3626dd393e0344349..15232efa6bb0454498db58c7aef8a5536248d54b 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -1218,6 +1218,7 @@ static void sdap_kinit_done(struct tevent_req *subreq)
             DEBUG(SSSDBG_OP_FAILURE,
                   "Unable to set env. variable KRB5CCNAME!\n");
             tevent_req_error(req, ERR_AUTH_FAILED);
+            return;
         }
 
         state->expire_time = expire_time;
-- 
2.1.0



More information about the sssd-devel mailing list