summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_join.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-10 22:32:34 +0200
committerGünther Deschner <gd@samba.org>2009-09-11 09:59:04 +0200
commitbea8e5fa6038d5abd2ec1e12f9005c4a04abb79f (patch)
treef7fd229b41866ea6b4d8fe5325fd7eb7b78aac9a /source3/utils/net_rpc_join.c
parent032e01e7c13724d057b5744d7d79613449c2f24f (diff)
downloadsamba-bea8e5fa6038d5abd2ec1e12f9005c4a04abb79f.tar.gz
samba-bea8e5fa6038d5abd2ec1e12f9005c4a04abb79f.tar.bz2
samba-bea8e5fa6038d5abd2ec1e12f9005c4a04abb79f.zip
s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().
Guenther
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r--source3/utils/net_rpc_join.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index f55f8f1047..dbe77355c8 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -101,7 +101,8 @@ NTSTATUS net_rpc_join_ok(struct net_context *c, const char *domain,
}
ntret = cli_rpc_pipe_open_schannel_with_key(
- cli, &ndr_table_netlogon.syntax_id, PIPE_AUTH_LEVEL_PRIVACY,
+ cli, &ndr_table_netlogon.syntax_id, NCACN_NP,
+ PIPE_AUTH_LEVEL_PRIVACY,
domain, &netlogon_pipe->dc, &pipe_hnd);
if (!NT_STATUS_IS_OK(ntret)) {
@@ -418,7 +419,7 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv)
struct rpc_pipe_client *netlogon_schannel_pipe;
result = cli_rpc_pipe_open_schannel_with_key(
- cli, &ndr_table_netlogon.syntax_id,
+ cli, &ndr_table_netlogon.syntax_id, NCACN_NP,
PIPE_AUTH_LEVEL_PRIVACY, domain, &pipe_hnd->dc,
&netlogon_schannel_pipe);