summaryrefslogtreecommitdiffstats
path: root/server/providers
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-12-07 15:06:56 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-07 16:15:50 -0500
commitb485dd2ade292a5b8cdfe8a66d15a8789cae2704 (patch)
tree58631d91bfd8d9a5cb61fc159247497f216022df /server/providers
parent7741e483e62321bc85d27c4215e2e5b96c355ad2 (diff)
downloadsssd-b485dd2ade292a5b8cdfe8a66d15a8789cae2704.tar.gz
sssd-b485dd2ade292a5b8cdfe8a66d15a8789cae2704.tar.xz
sssd-b485dd2ade292a5b8cdfe8a66d15a8789cae2704.zip
Allow nesting to fix #310
Diffstat (limited to 'server/providers')
-rw-r--r--server/providers/ldap/sdap_async_accounts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/providers/ldap/sdap_async_accounts.c b/server/providers/ldap/sdap_async_accounts.c
index e4656cd7e..abebe2883 100644
--- a/server/providers/ldap/sdap_async_accounts.c
+++ b/server/providers/ldap/sdap_async_accounts.c
@@ -680,6 +680,7 @@ static int sdap_find_entry_by_origDN(TALLOC_CTX *memctx,
tevent_req_set_callback(req, sdap_find_entry_by_origDN_done, state);
/* WARNING: SYNC LOOP HERE */
+ tevent_loop_allow_nesting(ev);
while (state->done == 0) {
tevent_loop_once(ev);
}