diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-09-16 18:29:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-01-07 12:47:11 +0100 |
commit | 1696b127c61fea76fce3d992632a822ed78de07c (patch) | |
tree | 5786974a3b6e6d1d9ff9bd54187bcc893bba982b | |
parent | a1c468e1d75d490f0e531feb08188ddc3f0d77b5 (diff) | |
download | samba-1696b127c61fea76fce3d992632a822ed78de07c.tar.gz samba-1696b127c61fea76fce3d992632a822ed78de07c.tar.xz samba-1696b127c61fea76fce3d992632a822ed78de07c.zip |
s3:rpcclient: add rpcclient_netlogon_creds
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source3/rpcclient/rpcclient.c | 3 | ||||
-rw-r--r-- | source3/rpcclient/rpcclient.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 7435446873..51638433be 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -52,6 +52,7 @@ static enum dcerpc_transport_t default_transport = NCACN_NP; struct messaging_context *rpcclient_msg_ctx; struct user_auth_info *rpcclient_auth_info; struct cli_state *rpcclient_cli_state; +struct netlogon_creds_cli_context *rpcclient_netlogon_creds; /* List to hold groups of commands. * @@ -798,6 +799,8 @@ static NTSTATUS do_cmd(struct cli_state *cli, } } + rpcclient_netlogon_creds = cmd_entry->rpc_pipe->netlogon_creds; + /* Run command */ if ( cmd_entry->returntype == RPC_RTYPE_NTSTATUS ) { diff --git a/source3/rpcclient/rpcclient.h b/source3/rpcclient/rpcclient.h index 48f38c2770..9cb0323dd4 100644 --- a/source3/rpcclient/rpcclient.h +++ b/source3/rpcclient/rpcclient.h @@ -43,5 +43,6 @@ struct cmd_set { extern struct messaging_context *rpcclient_msg_ctx; extern struct cli_state *rpcclient_cli_state; +extern struct netlogon_creds_cli_context *rpcclient_netlogon_creds; #endif /* RPCCLIENT_H */ |