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:
@ -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;
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user