s3:rpc_client: make use of the new netlogon_creds_cli_context
commit38d4dba37406515181e4d6f1a1faffc18e652e27
authorStefan Metzmacher <metze@samba.org>
Sat, 27 Jul 2013 09:30:13 +0000 (27 11:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 7 Jan 2014 11:47:06 +0000 (7 12:47 +0100)
treed7644727673b23e6167958e6c32422a2ab3a82d6
parent11aed7cd3dbd967593b34a206f0802fd0002bf27
s3:rpc_client: make use of the new netlogon_creds_cli_context

This exchanges rpc_pipe_client->dc with rpc_pipe_client->netlogon_creds
and lets the secure channel session state be stored in node local database.

This is the proper fix for a large number of bugs:
https://bugzilla.samba.org/show_bug.cgi?id=6563
https://bugzilla.samba.org/show_bug.cgi?id=7944
https://bugzilla.samba.org/show_bug.cgi?id=7945
https://bugzilla.samba.org/show_bug.cgi?id=7568
https://bugzilla.samba.org/show_bug.cgi?id=8599

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
12 files changed:
source3/libnet/libnet_join.c
source3/libnet/libnet_samsync.c
source3/rpc_client/cli_netlogon.c
source3/rpc_client/cli_pipe.c
source3/rpc_client/cli_pipe.h
source3/rpc_client/cli_pipe_schannel.c
source3/rpc_client/rpc_client.h
source3/rpcclient/cmd_netlogon.c
source3/winbindd/winbindd.h
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_pam.c
source3/wscript_build