summaryrefslogtreecommitdiff
path: root/source4/smbd
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/smbd
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/smbd')
-rw-r--r--source4/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 1c6a11d950..0b1ff068f9 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -198,7 +198,7 @@ static void prime_ldb_databases(struct tevent_context *event_ctx)
db_context = talloc_new(event_ctx);
samdb_connect(db_context, event_ctx, cmdline_lp_ctx, system_session(cmdline_lp_ctx), 0);
- privilege_connect(db_context, event_ctx, cmdline_lp_ctx);
+ privilege_connect(db_context, cmdline_lp_ctx);
/* we deliberately leave these open, which allows them to be
* re-used in ldb_wrap_connect() */