1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s3:net_rpc: add net_context->netlogon_creds

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher
2013-09-16 19:59:11 +02:00
parent 3bf77812e8
commit d1340c20b0
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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(