summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-12-20 21:26:35 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-12-21 15:10:38 +1100
commit94a59b781ccc5a552a9141484740255977db4637 (patch)
tree9050f24d258f48c5896da75a15e3984c2deda23f /source4/rpc_server
parentbecaa18a46f4ee14d8617c22e78da463fda823b2 (diff)
downloadsamba-94a59b781ccc5a552a9141484740255977db4637.tar.gz
samba-94a59b781ccc5a552a9141484740255977db4637.tar.bz2
samba-94a59b781ccc5a552a9141484740255977db4637.zip
s4-auth Remove event context from privilage database handling
These local TDB operations can quite safely be handled in a new/nested event context, rather than using the main event context. Andrew Bartlett
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/lsa/lsa_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/lsa/lsa_init.c b/source4/rpc_server/lsa/lsa_init.c
index 641add0c97..9b95374c05 100644
--- a/source4/rpc_server/lsa/lsa_init.c
+++ b/source4/rpc_server/lsa/lsa_init.c
@@ -49,7 +49,7 @@ NTSTATUS dcesrv_lsa_get_policy_state(struct dcesrv_call_state *dce_call, TALLOC_
}
/* and the privilege database */
- state->pdb = privilege_connect(state, dce_call->event_ctx, dce_call->conn->dce_ctx->lp_ctx);
+ state->pdb = privilege_connect(state, dce_call->conn->dce_ctx->lp_ctx);
if (state->pdb == NULL) {
return NT_STATUS_INVALID_SYSTEM_SERVICE;
}