summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_connection.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-04-11 21:49:03 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-04-11 16:11:13 -0400
commit7f25107b559705bf2520d1ed260100ba29121f91 (patch)
treeab8c2bac6333b3b1b23f0e587e4821d4045f135d /src/providers/ldap/sdap_async_connection.c
parent96c18203c803c340a98b18c1a3837eef371d1a6b (diff)
downloadsssd-7f25107b559705bf2520d1ed260100ba29121f91.tar.gz
sssd-7f25107b559705bf2520d1ed260100ba29121f91.tar.xz
sssd-7f25107b559705bf2520d1ed260100ba29121f91.zip
Initialise srv_opts even if rootDSE is missingsssd-1.5.1-26.el5
Diffstat (limited to 'src/providers/ldap/sdap_async_connection.c')
-rw-r--r--src/providers/ldap/sdap_async_connection.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c
index fbbb44479..bae412c7b 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -1285,14 +1285,15 @@ static void sdap_cli_rootdse_done(struct tevent_req *subreq)
return;
}
- ret = sdap_get_server_opts_from_rootdse(state,
- state->service->uri, rootdse,
- state->opts, &state->srv_opts);
- if (ret) {
- DEBUG(1, ("sdap_get_server_opts_from_rootdse failed.\n"));
- tevent_req_error(req, ret);
- return;
- }
+ }
+
+ ret = sdap_get_server_opts_from_rootdse(state,
+ state->service->uri, rootdse,
+ state->opts, &state->srv_opts);
+ if (ret) {
+ DEBUG(1, ("sdap_get_server_opts_from_rootdse failed.\n"));
+ tevent_req_error(req, ret);
+ return;
}
sasl_mech = dp_opt_get_string(state->opts->basic, SDAP_SASL_MECH);