summaryrefslogtreecommitdiff
path: root/source/winbind/wb_cmd_list_trustdom.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-23 02:56:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:16 -0500
commitbad2dc14d704be59300f619c84694c11620559e0 (patch)
tree68942894aec1a56ee720f11e4123e0181cc88c7b /source/winbind/wb_cmd_list_trustdom.c
parent3b6695de36bcea8a76001c9a5585eac871646450 (diff)
downloadsamba-bad2dc14d704be59300f619c84694c11620559e0.tar.gz
r23995: Work to allow mimir's libnet code to be called from winbind.
We now setup a libnet_ctx for each domain. We should then be able to replace/merge some more of the winbind code with libnet calls, referencing domain->libnet_ctx. Andrew Bartlett
Diffstat (limited to 'source/winbind/wb_cmd_list_trustdom.c')
-rw-r--r--source/winbind/wb_cmd_list_trustdom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/winbind/wb_cmd_list_trustdom.c b/source/winbind/wb_cmd_list_trustdom.c
index d849658d7ba..83bd517a023 100644
--- a/source/winbind/wb_cmd_list_trustdom.c
+++ b/source/winbind/wb_cmd_list_trustdom.c
@@ -81,7 +81,7 @@ static void cmd_list_trustdoms_recv_domain(struct composite_context *ctx)
state->ctx->status = wb_sid2domain_recv(ctx, &domain);
if (!composite_is_ok(state->ctx)) return;
- tree = dcerpc_smb_tree(domain->lsa_pipe->conn);
+ tree = dcerpc_smb_tree(domain->libnet_ctx->lsa.pipe->conn);
if (composite_nomem(tree, state->ctx)) return;
ctx = wb_init_lsa_send(state, domain);