summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-08-12 15:12:11 +0200
committerStefan Metzmacher <metze@samba.org>2010-08-16 14:30:20 +0200
commit2ccaa2355872612559935090cb032031659ea284 (patch)
treec39008ae8f94e5dc97d54c0c0eeec430eeafd862 /source3/winbindd
parente79c8098d62d415d988a840f71f5733b9dfb9f68 (diff)
downloadsamba-2ccaa2355872612559935090cb032031659ea284.tar.gz
samba-2ccaa2355872612559935090cb032031659ea284.tar.bz2
samba-2ccaa2355872612559935090cb032031659ea284.zip
s3:winbindd: add binding_handle to struct winbindd_child
metze
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd.h1
-rw-r--r--source3/winbindd/winbindd_dual.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index 91ebb6a7a9..d28c1ebdbe 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -132,6 +132,7 @@ struct winbindd_child {
int sock;
struct tevent_queue *queue;
struct rpc_pipe_client *rpccli;
+ struct dcerpc_binding_handle *binding_handle;
struct timed_event *lockout_policy_event;
struct timed_event *machine_password_change_event;
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index c8bd066747..61d0ed5ab6 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -442,6 +442,7 @@ void setup_child(struct winbindd_domain *domain, struct winbindd_child *child,
SMB_ASSERT(child->queue != NULL);
child->rpccli = wbint_rpccli_create(NULL, domain, child);
SMB_ASSERT(child->rpccli != NULL);
+ child->binding_handle = child->rpccli->binding_handle;
}
static struct winbindd_child *winbindd_children = NULL;