From d1340c20b0900f54e2c73c4a363f45988b1ba097 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 16 Sep 2013 19:59:11 +0200 Subject: s3:net_rpc: add net_context->netlogon_creds Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source3/utils/net.h | 1 + source3/utils/net_rpc.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/utils/net.h b/source3/utils/net.h index e97734ae34..ce19c57f47 100644 --- a/source3/utils/net.h +++ b/source3/utils/net.h @@ -90,6 +90,7 @@ struct net_context { bool smb_encrypt; struct libnetapi_ctx *netapi_ctx; struct messaging_context *msg_ctx; + struct netlogon_creds_cli_context *netlogon_creds; bool display_usage; void *private_data; diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 6adb3261b3..26c7e159ed 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -201,6 +201,7 @@ int run_rpc_command(struct net_context *c, nt_errstr(nt_status) )); goto fail; } + c->netlogon_creds = pipe_hnd->netlogon_creds; } else { if (conn_flags & NET_FLAGS_SEAL) { nt_status = cli_rpc_pipe_open_generic_auth( -- cgit