summaryrefslogtreecommitdiff
path: root/source4/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
commitdc25ec5ce736b21cdcccddff12e6c9d9c0706df8 (patch)
tree4d2cad905540139f8575c7cfb3de34a54dc076e5 /source4/winbind/wb_cmd_list_trustdom.c
parentae0115d8dbf05c52c631ea915f036a2129cd033e (diff)
downloadsamba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.tar.gz
samba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.tar.bz2
samba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.zip
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 (This used to be commit bad2dc14d704be59300f619c84694c11620559e0)
Diffstat (limited to 'source4/winbind/wb_cmd_list_trustdom.c')
-rw-r--r--source4/winbind/wb_cmd_list_trustdom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_cmd_list_trustdom.c b/source4/winbind/wb_cmd_list_trustdom.c
index d849658d7b..83bd517a02 100644
--- a/source4/winbind/wb_cmd_list_trustdom.c
+++ b/source4/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);