summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_dual.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-24 00:13:02 +0200
committerVolker Lendecke <vl@samba.org>2009-08-27 15:04:09 +0200
commitf3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb (patch)
treeded7ed669abc08a5329f21edc9a879a42ae1d45d /source3/winbindd/winbindd_dual.c
parent3532c8b9d831c8122de871db62d17608ff24f409 (diff)
downloadsamba-f3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb.tar.gz
samba-f3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb.tar.bz2
samba-f3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb.zip
s3:winbind: Add a generic cache for NDR based parent-child requests
Diffstat (limited to 'source3/winbindd/winbindd_dual.c')
-rw-r--r--source3/winbindd/winbindd_dual.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 2158834bdd..edf784cc21 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -573,7 +573,7 @@ static void child_process_request(struct winbindd_child *child,
state->response->result = WINBINDD_ERROR;
}
-void setup_child(struct winbindd_child *child,
+void setup_child(struct winbindd_domain *domain, struct winbindd_child *child,
const struct winbindd_child_dispatch_table *table,
const char *logprefix,
const char *logname)
@@ -592,7 +592,7 @@ void setup_child(struct winbindd_child *child,
child->table = table;
child->queue = tevent_queue_create(NULL, "winbind_child");
SMB_ASSERT(child->queue != NULL);
- child->rpccli = wbint_rpccli_create(NULL, child);
+ child->rpccli = wbint_rpccli_create(NULL, domain, child);
SMB_ASSERT(child->rpccli != NULL);
}