summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_join.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-15 11:48:23 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-15 11:48:23 -0700
commitdac0fb0b7c369255e0d07e47a11f6a0288019da1 (patch)
tree63b513e26972b3c5286a015b6dc110b4b20b1305 /source3/utils/net_rpc_join.c
parentefe9f952504a5a3114cada5f0caed315c4bc654d (diff)
parente44c4141fdfa07bb3bd09f28e5f093d27f170dc8 (diff)
downloadsamba-dac0fb0b7c369255e0d07e47a11f6a0288019da1.tar.gz
samba-dac0fb0b7c369255e0d07e47a11f6a0288019da1.tar.bz2
samba-dac0fb0b7c369255e0d07e47a11f6a0288019da1.zip
Merge branch 'master' of /home/tridge/samba/git/combined
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r--source3/utils/net_rpc_join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index dbe77355c8..23913812b0 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -102,7 +102,7 @@ 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, NCACN_NP,
- PIPE_AUTH_LEVEL_PRIVACY,
+ DCERPC_AUTH_LEVEL_PRIVACY,
domain, &netlogon_pipe->dc, &pipe_hnd);
if (!NT_STATUS_IS_OK(ntret)) {
@@ -420,7 +420,7 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv)
result = cli_rpc_pipe_open_schannel_with_key(
cli, &ndr_table_netlogon.syntax_id, NCACN_NP,
- PIPE_AUTH_LEVEL_PRIVACY, domain, &pipe_hnd->dc,
+ DCERPC_AUTH_LEVEL_PRIVACY, domain, &pipe_hnd->dc,
&netlogon_schannel_pipe);
if (!NT_STATUS_IS_OK(result)) {