s3:winbindd: add binding_handle to struct winbindd_child
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Aug 2010 13:12:11 +0000 (15:12 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 16 Aug 2010 12:30:20 +0000 (14:30 +0200)
metze

source3/winbindd/winbindd.h
source3/winbindd/winbindd_dual.c

index 91ebb6a7a9b041b82ebd41a3673f5fff57121348..d28c1ebdbe618766a37424135825f532dd4b1d28 100644 (file)
@@ -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;
index c8bd066747071c030bedd8fc41caf65e50dee598..61d0ed5ab603a2953005bb86a9fffb44c89891d4 100644 (file)
@@ -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;