diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-12-17 09:19:49 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-12-19 13:15:13 +0100 |
commit | fb42b02c9f75804bc471c1f88fbda28865d9f01e (patch) | |
tree | 5d01849d1a3f7fe8e1426f84bf1fa6b41bc3150a /source3/rpc_client/cli_pipe.h | |
parent | 995cf54b3177cd92b1bce5f34df134122a0200de (diff) | |
download | samba-fb42b02c9f75804bc471c1f88fbda28865d9f01e.tar.gz |
s3:rpc_client: add cli_rpc_pipe_open_schannel_with_creds() helper function
This will simplify the callers and add potential support for SEC_CHAN_DNS_DOMAIN
as cli_credentials_get_realm() will return the correct value compared to
cli_credentials_get_domain().
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/rpc_client/cli_pipe.h')
-rw-r--r-- | source3/rpc_client/cli_pipe.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.h b/source3/rpc_client/cli_pipe.h index 0c1e6921380..16946c5e206 100644 --- a/source3/rpc_client/cli_pipe.h +++ b/source3/rpc_client/cli_pipe.h @@ -106,6 +106,13 @@ NTSTATUS cli_rpc_pipe_open_schannel_with_key(struct cli_state *cli, struct netlogon_creds_cli_context *netlogon_creds, struct rpc_pipe_client **presult); +NTSTATUS cli_rpc_pipe_open_schannel_with_creds(struct cli_state *cli, + const struct ndr_interface_table *table, + enum dcerpc_transport_t transport, + struct cli_credentials *cli_creds, + struct netlogon_creds_cli_context *netlogon_creds, + struct rpc_pipe_client **_rpccli); + NTSTATUS cli_rpc_pipe_open_schannel(struct cli_state *cli, struct messaging_context *msg_ctx, const struct ndr_interface_table *table, |