summaryrefslogtreecommitdiff
path: root/source4/winbind
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-10-11 16:43:07 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-10-11 13:02:15 +0000
commit5cd9495fb3f74d8e896c81e5c060a1643722870e (patch)
treeaccf27ddb2a3e04abe2a10b8340c7ff08ccfee34 /source4/winbind
parentbaeaa179868fedb797df811bdf4d4a87bf604b8c (diff)
downloadsamba-5cd9495fb3f74d8e896c81e5c060a1643722870e.tar.gz
s4-param Refactor secrets code to not require an event context.
A new event context is constructed by LDB when required for secrets.ldb This will be essentially unused, as LDB on TDB will only trigger 'fake' events, and blocks on transactions and lock operations anyway. Andrew Bartlett
Diffstat (limited to 'source4/winbind')
-rw-r--r--source4/winbind/wb_server.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c
index 96dab0acd52..184b1162c12 100644
--- a/source4/winbind/wb_server.c
+++ b/source4/winbind/wb_server.c
@@ -237,7 +237,6 @@ static void winbind_task_init(struct task_server *task)
switch (lpcfg_server_role(service->task->lp_ctx)) {
case ROLE_STANDALONE:
primary_sid = secrets_get_domain_sid(service,
- service->task->event_ctx,
service->task->lp_ctx,
lpcfg_netbios_name(service->task->lp_ctx),
&service->sec_channel_type,
@@ -253,7 +252,6 @@ static void winbind_task_init(struct task_server *task)
break;
case ROLE_DOMAIN_MEMBER:
primary_sid = secrets_get_domain_sid(service,
- service->task->event_ctx,
service->task->lp_ctx,
lpcfg_workgroup(service->task->lp_ctx),
&service->sec_channel_type,
@@ -268,7 +266,6 @@ static void winbind_task_init(struct task_server *task)
break;
case ROLE_DOMAIN_CONTROLLER:
primary_sid = secrets_get_domain_sid(service,
- service->task->event_ctx,
service->task->lp_ctx,
lpcfg_workgroup(service->task->lp_ctx),
&service->sec_channel_type,