diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-29 10:37:40 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-29 10:41:06 +0100 |
commit | 71587285ccf78547ee4830b03d8a1493412504a5 (patch) | |
tree | 0c84707b20c9ef96e7390937e9aef1e98eb4a982 | |
parent | cac9bfe475790c8d682e30fd2648099dc3e72fa5 (diff) | |
download | samba-71587285ccf78547ee4830b03d8a1493412504a5.tar.gz samba-71587285ccf78547ee4830b03d8a1493412504a5.tar.bz2 samba-71587285ccf78547ee4830b03d8a1493412504a5.zip |
s4-winbindd: Do not ask for a tree that we will not use
-rw-r--r-- | source4/winbind/wb_cmd_list_trustdom.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/winbind/wb_cmd_list_trustdom.c b/source4/winbind/wb_cmd_list_trustdom.c index 5f132ef12f..899de61c07 100644 --- a/source4/winbind/wb_cmd_list_trustdom.c +++ b/source4/winbind/wb_cmd_list_trustdom.c @@ -76,14 +76,10 @@ static void cmd_list_trustdoms_recv_domain(struct composite_context *ctx) talloc_get_type(ctx->async.private_data, struct cmd_list_trustdom_state); struct wbsrv_domain *domain; - struct smbcli_tree *tree; state->ctx->status = wb_sid2domain_recv(ctx, &domain); if (!composite_is_ok(state->ctx)) return; - tree = dcerpc_smb_tree(domain->libnet_ctx->lsa.pipe->conn); - if (composite_nomem(tree, state->ctx)) return; - ctx = wb_init_lsa_send(state, domain); composite_continue(state->ctx, ctx, cmd_list_trustdoms_recv_lsa, state); |