summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_cmd_list_trustdom.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-05-25 08:04:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:53 -0500
commit64df4c7c5726ec266628fff40071e06d268b410e (patch)
treef6ff2c6c9f0076c4b6521f5a33a9195dfc69e28b /source4/winbind/wb_cmd_list_trustdom.c
parent79d3f82f3383fd4e09d3fd1fefdc45cf53fdb5c1 (diff)
downloadsamba-64df4c7c5726ec266628fff40071e06d268b410e.tar.gz
samba-64df4c7c5726ec266628fff40071e06d268b410e.tar.bz2
samba-64df4c7c5726ec266628fff40071e06d268b410e.zip
r23133: I felt pity on Kai, as he starts work on winbind in Samba4, so I
decided to clean it up a little. We now use SPNEGO for authentication if possible, and common routines shared with the rest of the librpc codebase. Rather than make a connection to IPC$, then connect the pipes to it, we instead have the lsa and samr pipes as 'secondary connections'. Andrew Bartlett (This used to be commit 86654056b22245a57396544d572de6401069b9e5)
Diffstat (limited to 'source4/winbind/wb_cmd_list_trustdom.c')
-rw-r--r--source4/winbind/wb_cmd_list_trustdom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/winbind/wb_cmd_list_trustdom.c b/source4/winbind/wb_cmd_list_trustdom.c
index c39fe499a7..e45db6f96a 100644
--- a/source4/winbind/wb_cmd_list_trustdom.c
+++ b/source4/winbind/wb_cmd_list_trustdom.c
@@ -85,8 +85,7 @@ static void cmd_list_trustdoms_recv_domain(struct composite_context *ctx)
tree = dcerpc_smb_tree(domain->lsa_pipe->conn);
if (composite_nomem(tree, state->ctx)) return;
- ctx = wb_init_lsa_send(state, tree, domain->lsa_auth_type,
- domain->schannel_creds);
+ ctx = wb_init_lsa_send(state, domain);
composite_continue(state->ctx, ctx, cmd_list_trustdoms_recv_lsa,
state);
}