diff options
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_async_connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c index 0cb9162e..f143a013 100644 --- a/src/providers/ldap/sdap_async_connection.c +++ b/src/providers/ldap/sdap_async_connection.c @@ -1137,6 +1137,7 @@ static void sdap_cli_resolve_done(struct tevent_req *subreq) ret = be_resolve_server_recv(subreq, &state->srv); talloc_zfree(subreq); if (ret) { + state->srv = NULL; /* all servers have been tried and none * was found good, go offline */ tevent_req_error(req, EIO); |