URL:
https://github.com/SSSD/sssd/pull/425
Title: #425: Fix issue #3451
fidencio commented:
"""
Sure:
```
diff --git a/src/providers/ldap/ldap_auth.c b/src/providers/ldap/ldap_auth.c
index 1bb151833..a3b1480aa 100644
--- a/src/providers/ldap/ldap_auth.c
+++ b/src/providers/ldap/ldap_auth.c
@@ -674,7 +674,7 @@ fail:
static struct tevent_req *auth_connect_send(struct tevent_req *req)
{
- struct tevent_req *next_req;
+ struct tevent_req *subreq;
struct auth_state *state = tevent_req_data(req,
struct auth_state);
bool use_tls;
@@ -690,19 +690,19 @@ static struct tevent_req *auth_connect_send(struct tevent_req
*req)
"for debugging purposes only.");
}
- next_req = sdap_cli_connect_send(state, state->ev, state->ctx->opts,
- state->ctx->be,
- state->sdap_service, false,
- use_tls ? CON_TLS_ON : CON_TLS_OFF, false);
+ subreq = sdap_cli_connect_send(state, state->ev, state->ctx->opts,
+ state->ctx->be,
+ state->sdap_service, false,
+ use_tls ? CON_TLS_ON : CON_TLS_OFF, false);
- if (next_req == NULL) {
+ if (subreq == NULL) {
tevent_req_error(req, ENOMEM);
return NULL;
}
- tevent_req_set_callback(next_req, auth_connect_done, req);
+ tevent_req_set_callback(subreq, auth_connect_done, req);
- return next_req;
+ return subreq;
}
```
Patch has been updated with the follow-up mentioned above squashed to patch.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/425#issuecomment-341685353