summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-04-12 08:56:10 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-04-12 09:26:25 -0400
commit41019c25edfef1b37e0ff6a9b505061a04fcff84 (patch)
tree2ca238713feb02a85405d2cb78f0e1dbb0d0a3c5
parent280ed6f992a3a3e661e618c77b64aff35a356c7e (diff)
downloadsssd-41019c25edfef1b37e0ff6a9b505061a04fcff84.tar.gz
sssd-41019c25edfef1b37e0ff6a9b505061a04fcff84.tar.bz2
sssd-41019c25edfef1b37e0ff6a9b505061a04fcff84.zip
Initialise rootdse to NULL if not available
-rw-r--r--src/providers/ldap/sdap_async_connection.c1
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 4694acc1..b295c56e 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -1257,6 +1257,7 @@ static void sdap_cli_rootdse_done(struct tevent_req *subreq)
* work properly.
*/
state->use_rootdse = false;
+ rootdse = NULL;
}
else {