s3:rpc_client: add cli_rpc_pipe_open_schannel_with_creds() helper function
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Dec 2014 09:19:49 +0000 (09:19 +0000)
committerStefan Metzmacher <metze@samba.org>
Fri, 19 Dec 2014 12:15:13 +0000 (13:15 +0100)
commitfb42b02c9f75804bc471c1f88fbda28865d9f01e
tree5d01849d1a3f7fe8e1426f84bf1fa6b41bc3150a
parent995cf54b3177cd92b1bce5f34df134122a0200de
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>
source3/rpc_client/cli_pipe.c
source3/rpc_client/cli_pipe.h