summaryrefslogtreecommitdiff
path: root/server/providers
diff options
context:
space:
mode:
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 e4656cd7..abebe288 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);
}