summaryrefslogtreecommitdiffstats
path: root/source3/libnet/libnet_join.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-10-17 17:03:00 +0200
committerStefan Metzmacher <metze@samba.org>2014-01-07 12:47:07 +0100
commit5adfc5f9f737c003b84b0187fa17b9fc3784442e (patch)
tree52fa00abf1cbfceed9372473318f50ee3457cc42 /source3/libnet/libnet_join.c
parent38d4dba37406515181e4d6f1a1faffc18e652e27 (diff)
downloadsamba-5adfc5f9f737c003b84b0187fa17b9fc3784442e.tar.gz
samba-5adfc5f9f737c003b84b0187fa17b9fc3784442e.tar.xz
samba-5adfc5f9f737c003b84b0187fa17b9fc3784442e.zip
s3:rpc_client: use netlogon_creds_cli_auth_level() in cli_rpc_pipe_open_schannel_with_key()
This means the auth level is now based on the "winbindd sealed pipes" option, defaulting to "yes" and DCERPC_AUTH_LEVEL_PRIVACY. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/libnet/libnet_join.c')
-rw-r--r--source3/libnet/libnet_join.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 5dc620f270..b2805eed54 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1278,7 +1278,6 @@ NTSTATUS libnet_join_ok(const char *netbios_domain_name,
status = cli_rpc_pipe_open_schannel_with_key(
cli, &ndr_table_netlogon, NCACN_NP,
- DCERPC_AUTH_LEVEL_PRIVACY,
netbios_domain_name,
netlogon_pipe->netlogon_creds, &pipe_hnd);